Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 88.59 kB / 20.95 MB, free: 328 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 153.1 kB / 24.25 MB, free: 3.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.278e-05, allocations: 7.234 kB / 267.3 MB, free: 10.17 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003038/0.003071, allocations: 1.558 MB / 268.9 MB, free: 8.602 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004236, allocations: 454.7 kB / 269.3 MB, free: 8.152 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.00432, allocations: 3.938 kB / 269.3 MB, free: 8.148 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.004373, allocations: 3.938 kB / 269.3 MB, free: 8.145 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.004511, allocations: 7.984 kB / 269.3 MB, free: 8.137 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.004766, allocations: 47.7 kB / 269.4 MB, free: 8.09 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.004875, allocations: 39.86 kB / 269.4 MB, free: 8.051 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.004962, allocations: 3.984 kB / 269.4 MB, free: 8.047 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.005056, allocations: 35.91 kB / 269.5 MB, free: 8.012 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.005102, allocations: 4 kB / 269.5 MB, free: 8.008 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.005126, allocations: 4 kB / 269.5 MB, free: 8.004 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.005135, allocations: 0 / 269.5 MB, free: 8.004 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.005192, allocations: 15.92 kB / 269.5 MB, free: 7.988 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.005224, allocations: 15.92 kB / 269.5 MB, free: 7.973 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.005344, allocations: 51.8 kB / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005347, allocations: 0 / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005348, allocations: 0 / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.005357, allocations: 0 / 269.6 MB, free: 7.922 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000539/0.005896, allocations: 298 kB / 269.8 MB, free: 7.602 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005933, allocations: 12.86 kB / 269.9 MB, free: 7.59 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.005986, allocations: 8.891 kB / 269.9 MB, free: 7.582 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.006262, allocations: 137.6 kB / 270 MB, free: 7.422 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.006275, allocations: 384 / 270 MB, free: 7.422 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.006285, allocations: 384 / 270 MB, free: 7.422 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.00657, allocations: 101.6 kB / 270.1 MB, free: 7.305 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.00658, allocations: 4.172 kB / 270.1 MB, free: 7.301 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.00659, allocations: 4.375 kB / 270.1 MB, free: 7.297 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.006598, allocations: 3.938 kB / 270.1 MB, free: 7.293 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.006681, allocations: 19.98 kB / 270.1 MB, free: 7.273 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.007042, allocations: 205.4 kB / 270.3 MB, free: 7.039 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.007148, allocations: 41.22 kB / 270.4 MB, free: 6.98 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.115e-05/0.007209, allocations: 17.77 kB / 270.4 MB, free: 6.957 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.007236, allocations: 7.938 kB / 270.4 MB, free: 6.949 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.00727, allocations: 34.5 kB / 270.4 MB, free: 6.906 MB / 254.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.007271, allocations: 4 kB / 270.4 MB, free: 6.902 MB / 254.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003013/0.007573, allocations: 73.56 kB / 270.5 MB, free: 6.824 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.007656, allocations: 77.11 kB / 270.6 MB, free: 6.73 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.007814, allocations: 136.5 kB / 270.7 MB, free: 6.59 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.007836, allocations: 29.64 kB / 270.7 MB, free: 6.555 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.007903, allocations: 92.12 kB / 270.8 MB, free: 6.461 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.007918, allocations: 3.938 kB / 270.8 MB, free: 6.457 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.007959, allocations: 17.67 kB / 270.9 MB, free: 6.434 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.008135, allocations: 319.1 kB / 271.2 MB, free: 6.113 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.008177, allocations: 7.984 kB / 271.2 MB, free: 6.105 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.877e-05/0.008206, allocations: 4 kB / 271.2 MB, free: 6.102 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/0.008286, allocations: 28.78 kB / 271.2 MB, free: 6.07 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008289, allocations: 0 / 271.2 MB, free: 6.07 MB / 254.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.008402, allocations: 49.62 kB / 271.3 MB, free: 6.016 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.008422, allocations: 4 kB / 271.3 MB, free: 6.012 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.00843, allocations: 96 / 271.3 MB, free: 6.012 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.008447, allocations: 8 kB / 271.3 MB, free: 6.004 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.008518, allocations: 3.984 kB / 271.3 MB, free: 6 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.008523, allocations: 0 / 271.3 MB, free: 6 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.008558, allocations: 4 kB / 271.3 MB, free: 5.996 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.008564, allocations: 0 / 271.3 MB, free: 5.996 MB / 254.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.008677, allocations: 117.8 kB / 271.4 MB, free: 5.871 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.008764, allocations: 45.53 kB / 271.4 MB, free: 5.82 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.008798, allocations: 11.81 kB / 271.4 MB, free: 5.809 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.0088, allocations: 0 / 271.4 MB, free: 5.809 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.008805, allocations: 4.031 kB / 271.4 MB, free: 5.805 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.00881, allocations: 3.984 kB / 271.5 MB, free: 5.801 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.008963, allocations: 113.3 kB / 271.6 MB, free: 5.66 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008964, allocations: 0 / 271.6 MB, free: 5.66 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.00901, allocations: 4 kB / 271.6 MB, free: 5.656 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009012, allocations: 0 / 271.6 MB, free: 5.656 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009021, allocations: 3.938 kB / 271.6 MB, free: 5.652 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/0.009035, allocations: 7.984 kB / 271.6 MB, free: 5.645 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009036, allocations: 0 / 271.6 MB, free: 5.645 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.009236, allocations: 164.3 kB / 271.7 MB, free: 5.465 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.009274, allocations: 11.94 kB / 271.8 MB, free: 5.453 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.009295, allocations: 11.94 kB / 271.8 MB, free: 5.441 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.009362, allocations: 0 / 271.8 MB, free: 5.441 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.009391, allocations: 0 / 271.8 MB, free: 5.441 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.009397, allocations: 4 kB / 271.8 MB, free: 5.438 MB / 254.1 MB Notification: Performance of sorting global known variables: time 9.571e-05/0.009493, allocations: 111.2 kB / 271.9 MB, free: 5.328 MB / 254.1 MB Notification: Performance of sort global known variables: time 7e-08/0.009493, allocations: 0 / 271.9 MB, free: 5.328 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.000222/0.009715, allocations: 8 kB / 271.9 MB, free: 5.32 MB / 254.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/0.009828, allocations: 95.25 kB / 272 MB, free: 5.219 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.009958, allocations: 20.02 kB / 272 MB, free: 5.199 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.00996, allocations: 0 / 272 MB, free: 5.199 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.01, allocations: 15.92 kB / 272 MB, free: 5.184 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.01034, allocations: 12.31 kB / 272 MB, free: 5.168 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.01071, allocations: 156.9 kB / 272.2 MB, free: 4.988 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.529e-05/0.01081, allocations: 79.41 kB / 272.3 MB, free: 4.891 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.01083, allocations: 4 kB / 272.3 MB, free: 4.887 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.01086, allocations: 12.5 kB / 272.3 MB, free: 4.871 MB / 254.1 MB Notification: Performance of SimCode: time 6.91e-07/0.01087, allocations: 0 / 272.3 MB, free: 4.871 MB / 254.1 MB Notification: Performance of Templates: time 0.002891/0.01376, allocations: 0.5137 MB / 272.8 MB, free: 4.367 MB / 254.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.164016228169203]