Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 83.69 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 165 kB / 24.56 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9301/0.9301, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.112e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002515/0.002546, allocations: 1.641 MB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.003439, allocations: 0.5336 MB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.003519, allocations: 3.938 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.469e-05/0.003574, allocations: 7.922 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.003711, allocations: 7.938 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.00401, allocations: 67.67 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.004116, allocations: 43.86 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.004211, allocations: 24.05 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004333, allocations: 35.95 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.004384, allocations: 15.92 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.004403, allocations: 4 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.923e-05/0.004442, allocations: 4 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.004489, allocations: 15.92 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.004515, allocations: 19.92 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.004645, allocations: 43.77 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004647, allocations: 0 / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004649, allocations: 4 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004653, allocations: 0 / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004332/0.005086, allocations: 404.2 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.005125, allocations: 12.03 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.005249, allocations: 16.88 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.005433, allocations: 156.9 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.005443, allocations: 4.375 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.005456, allocations: 8.312 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.005686, allocations: 141 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.005694, allocations: 0 / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005702, allocations: 0 / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.00571, allocations: 0 / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.005735, allocations: 8 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.005994, allocations: 279.1 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.006072, allocations: 93.11 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.006111, allocations: 39.19 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.006126, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.006149, allocations: 37.39 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.00615, allocations: 0 / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001729/0.006323, allocations: 69.5 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.006371, allocations: 106.8 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.006486, allocations: 196.9 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006496, allocations: 25.7 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.006546, allocations: 139.2 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.006559, allocations: 4 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.006593, allocations: 27.33 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.006712, allocations: 496.1 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.006724, allocations: 4 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.006733, allocations: 7.984 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.00676, allocations: 19.62 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006762, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.167e-05/0.006814, allocations: 29.7 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006826, allocations: 8 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00683, allocations: 96 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.006841, allocations: 4 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.006897, allocations: 3.984 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.0069, allocations: 4 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.006918, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.006923, allocations: 3.938 kB / 277.7 MB, free: 12.48 MB / 266.7 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 6.621e-05/0.006989, allocations: 160.5 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.00705, allocations: 57.56 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.007076, allocations: 11.97 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007078, allocations: 64 / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.007082, allocations: 4 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.007086, allocations: 4 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.007216, allocations: 136.5 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.007219, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.007252, allocations: 8 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007255, allocations: 0 / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007262, allocations: 7.938 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.007265, allocations: 3.984 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007266, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007386, allocations: 223.2 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.007414, allocations: 19.94 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.007426, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.007476, allocations: 4 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.007502, allocations: 4 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.007505, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.987e-05/0.007565, allocations: 147.2 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007565, allocations: 0 / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.00778, allocations: 7.938 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 7.303e-05/0.007853, allocations: 99.19 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.531e-05/0.007929, allocations: 23.69 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00793, allocations: 0 / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.007945, allocations: 11.67 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.008256, allocations: 32.73 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.008707, allocations: 184.4 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.008749, allocations: 59.34 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.008774, allocations: 12.31 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.008801, allocations: 8.5 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008801, allocations: 3.938 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Templates: time 0.002426/0.01123, allocations: 0.6653 MB / 279.6 MB, free: 10.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.759848174639046]