Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.002611/0.002611, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001977/0.001977, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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.592/1.592, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3527/0.3527, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.381e-05, allocations: 4.141 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00373/0.003764, allocations: 1.907 MB / 379.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.006119, allocations: 1.101 MB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.006237, allocations: 4 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.006837, allocations: 255.1 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.007397, allocations: 235.1 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.007711, allocations: 123.5 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.008084, allocations: 283.2 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.008199, allocations: 17.97 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.008445, allocations: 159.6 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.008719, allocations: 191.6 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.008753, allocations: 8 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.008905, allocations: 67.91 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.009016, allocations: 63.77 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.009101, allocations: 51.72 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.009475, allocations: 251.1 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.009479, allocations: 0 / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00948, allocations: 0 / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.009486, allocations: 0 / 382 MB, free: 14.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009488/0.01044, allocations: 0.6465 MB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.0105, allocations: 8.031 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.01059, allocations: 36.7 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.01099, allocations: 235 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.01101, allocations: 8.375 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.01104, allocations: 8.359 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.01131, allocations: 121.5 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.01133, allocations: 192 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.01136, allocations: 8.359 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01137, allocations: 7.922 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.01151, allocations: 39.97 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.01228, allocations: 0.5454 MB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.01272, allocations: 142.1 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.01285, allocations: 51.42 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.01286, allocations: 4 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.01313, allocations: 131.2 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.01313, allocations: 0 / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001851/0.01498, allocations: 0.5321 MB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.01506, allocations: 77.11 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.01565, allocations: 474.8 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.01569, allocations: 33.7 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.01592, allocations: 239.3 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.01601, allocations: 75.39 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.01611, allocations: 59.36 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003953/0.01651, allocations: 0.543 MB / 386 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.01664, allocations: 55.97 kB / 386 MB, free: 9.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.01682, allocations: 106.7 kB / 386.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.01713, allocations: 174.8 kB / 386.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01713, allocations: 0 / 386.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004768/0.01761, allocations: 237.3 kB / 386.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.01763, allocations: 8 kB / 386.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01764, allocations: 4.062 kB / 386.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.01765, allocations: 0 / 386.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.01781, allocations: 51.91 kB / 386.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01782, allocations: 0 / 386.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.0179, allocations: 11.94 kB / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01792, allocations: 12 kB / 386.6 MB, free: 9.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001867/0.01811, allocations: 184.5 kB / 386.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.01818, allocations: 43.77 kB / 386.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.01874, allocations: 265.1 kB / 387.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01875, allocations: 8 kB / 387.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01875, allocations: 0 / 387.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.01876, allocations: 3.984 kB / 387.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.01993, allocations: 0.8309 MB / 387.9 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01994, allocations: 4 kB / 388 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.02004, allocations: 35.86 kB / 388 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.02005, allocations: 4 kB / 388 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.02007, allocations: 8 kB / 388 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.02007, allocations: 4 kB / 388 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02007, allocations: 4.125 kB / 388 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.02073, allocations: 0.548 MB / 388.6 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.02079, allocations: 27.77 kB / 388.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.02083, allocations: 8 kB / 388.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.02097, allocations: 15.92 kB / 388.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.02105, allocations: 23.91 kB / 388.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.02108, allocations: 12 kB / 388.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003721/0.02145, allocations: 319.1 kB / 389 MB, free: 6.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02145, allocations: 0 / 389 MB, free: 6.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.02181, allocations: 51.92 kB / 389 MB, free: 6.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003854/0.02566, allocations: 0.5364 MB / 389.5 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.02608, allocations: 179.2 kB / 389.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02608, allocations: 0 / 389.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.02628, allocations: 95.53 kB / 389.8 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.02687, allocations: 68.95 kB / 389.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.02796, allocations: 0.5522 MB / 390.4 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.02817, allocations: 170.1 kB / 390.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.02828, allocations: 45.84 kB / 390.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.02836, allocations: 36.48 kB / 390.7 MB, free: 5.133 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02836, allocations: 0 / 390.7 MB, free: 5.133 MB / 362.7 MB Notification: Performance of Templates: time 0.009126/0.03749, allocations: 3.327 MB / 394 MB, free: 1.844 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.1174453949788585]