Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 160.2 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2771/0.2771, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.461e-05, allocations: 2.312 kB / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002176/0.002191, allocations: 1.82 MB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003407, allocations: 1.006 MB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.003482, allocations: 3.938 kB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.003732, allocations: 31.77 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.003986, allocations: 103.4 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.004155, allocations: 75.67 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004306, allocations: 111.5 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.004384, allocations: 11.98 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.004478, allocations: 43.91 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.004553, allocations: 31.89 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.004568, allocations: 4 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.004651, allocations: 51.86 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.004698, allocations: 27.84 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.00476, allocations: 15.94 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004902, allocations: 99.66 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.004903, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004904, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.004907, allocations: 0 / 329.5 MB, free: 3.598 MB / 298.7 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.0003273/0.005234, allocations: 313.6 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.005263, allocations: 15.97 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.005293, allocations: 8.922 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.005447, allocations: 141.6 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.005461, allocations: 4.375 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.005477, allocations: 4.359 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.00557, allocations: 69.77 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.00558, allocations: 192 / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.005586, allocations: 384 / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005592, allocations: 3.938 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.005617, allocations: 11.98 kB / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.005808, allocations: 170 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.005922, allocations: 89.22 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.005941, allocations: 12.86 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.00595, allocations: 0 / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.702e-05/0.006027, allocations: 66.22 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.006028, allocations: 0 / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002645/0.006293, allocations: 113.8 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.006325, allocations: 55.39 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.006422, allocations: 169 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006434, allocations: 25.7 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.006464, allocations: 96.11 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.006491, allocations: 35.72 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.006517, allocations: 17.72 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.006586, allocations: 326.8 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.0066, allocations: 18.83 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.006622, allocations: 25.7 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.006662, allocations: 40.52 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006663, allocations: 0 / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.977e-05/0.006733, allocations: 68.44 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.006745, allocations: 7.938 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.006748, allocations: 0 / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.00676, allocations: 4 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.006815, allocations: 19.98 kB / 331.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.00682, allocations: 7.969 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.006846, allocations: 8 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.006851, allocations: 3.938 kB / 331.4 MB, free: 1.504 MB / 298.7 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 (10): * Single equations (assignments): 10 * 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 5.746e-05/0.006908, allocations: 120.7 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.00692, allocations: 11.92 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.007015, allocations: 79.06 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.007016, allocations: 4 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007017, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00702, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.007217, allocations: 295.6 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.00722, allocations: 3.938 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.007243, allocations: 11.98 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007244, allocations: 0 / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.007255, allocations: 8 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.007256, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007257, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.007422, allocations: 207.1 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.007434, allocations: 15.84 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.00745, allocations: 11.98 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.007486, allocations: 4.031 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.00751, allocations: 7.984 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.00752, allocations: 4 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.007556, allocations: 48.34 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007556, allocations: 0 / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.007693, allocations: 23.94 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001244/0.008937, allocations: 0.5612 MB / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.00902, allocations: 40.83 kB / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009024, allocations: 0 / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.009051, allocations: 28.78 kB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.009223, allocations: 36.34 kB / 332.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.009497, allocations: 220.4 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.00953, allocations: 67.28 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.009565, allocations: 25.25 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.009624, allocations: 63.38 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.009624, allocations: 3.938 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003344/0.01297, allocations: 2.019 MB / 335.3 MB, free: 13.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.952343618031591]