Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001436/0.001436, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001624/0.001624, allocations: 216 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 46.93 MB / 360.8 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 0.4967 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4274, allocations: 66.03 MB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003688/0.4311, allocations: 1.768 MB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.4331, allocations: 1.053 MB / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.4332, allocations: 0 / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.4336, allocations: 91.69 kB / 0.564 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.434, allocations: 119.5 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.4342, allocations: 79.72 kB / 0.5642 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.4344, allocations: 123.6 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.4346, allocations: 11.97 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4347, allocations: 55.78 kB / 0.5644 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.4348, allocations: 63.75 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4348, allocations: 8 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.435, allocations: 67.89 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.4351, allocations: 23.92 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.4351, allocations: 35.69 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.4354, allocations: 137.9 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4354, allocations: 4 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4354, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4354, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 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.0006578/0.436, allocations: 381.2 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4361, allocations: 12.03 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.4362, allocations: 16.84 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.4365, allocations: 158.8 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4365, allocations: 384 / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4365, allocations: 8.125 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4367, allocations: 61.66 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4367, allocations: 0 / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4367, allocations: 4 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4367, allocations: 0 / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.4368, allocations: 35.91 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.4373, allocations: 271.8 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.4375, allocations: 54.55 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.4376, allocations: 16.98 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.4376, allocations: 4 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.4378, allocations: 75.31 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4378, allocations: 0 / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007931/0.4386, allocations: 241.3 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4386, allocations: 59.34 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.4389, allocations: 223.5 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.4389, allocations: 33.7 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.439, allocations: 108.1 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.439, allocations: 35.67 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.4391, allocations: 29.72 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4393, allocations: 326.8 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.4393, allocations: 24 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.4394, allocations: 53.69 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4396, allocations: 81.66 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4396, allocations: 0 / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002331/0.4398, allocations: 129.5 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4398, allocations: 4 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4398, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4399, allocations: 4 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.4399, allocations: 23.98 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4399, allocations: 3.938 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.44, allocations: 4 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.44, allocations: 12.02 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001191/0.4401, allocations: 133.8 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4401, allocations: 11.91 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.4405, allocations: 151.6 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4405, allocations: 0 / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4405, allocations: 3.938 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4405, allocations: 0 / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.441, allocations: 431.1 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.441, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.4411, allocations: 12 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4411, allocations: 0 / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4411, allocations: 7.984 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4411, allocations: 3.938 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4411, allocations: 0 / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4414, allocations: 237.2 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.4414, allocations: 11.91 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4414, allocations: 3.984 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.4415, allocations: 11.94 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.4416, allocations: 7.984 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4416, allocations: 4 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.4417, allocations: 177.2 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4417, allocations: 3.938 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000279/0.442, allocations: 31.92 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002013/0.444, allocations: 0.5138 MB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.4443, allocations: 75.84 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4443, allocations: 0 / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.4444, allocations: 44.05 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4447, allocations: 39.53 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.4453, allocations: 272.5 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4457, allocations: 0.708 MB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.056e-05/0.4458, allocations: 24.69 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.4458, allocations: 19.44 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4458, allocations: 0 / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of Templates: time 0.005777/0.4516, allocations: 2.053 MB / 0.572 GB, free: 9.188 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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: 5.534836790058762]