Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001754/0.001754, allocations: 84.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.00242/0.00242, allocations: 165.6 kB / 24.91 MB, free: 8.77 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.047/1.047, allocations: 177 MB / 205.2 MB, free: 5.078 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.2982/0.2982, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 326.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.334e-05, allocations: 5.406 kB / 326.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002754/0.002778, allocations: 1.973 MB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004288, allocations: 1.115 MB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.004383, allocations: 4 kB / 329.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.00476, allocations: 155.3 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.005162, allocations: 187.2 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.005443, allocations: 123.5 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.005782, allocations: 248 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.005891, allocations: 34.53 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.006094, allocations: 135.6 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.006245, allocations: 111.7 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.006268, allocations: 8 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.006391, allocations: 63.91 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.006463, allocations: 63.7 kB / 330.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.006517, allocations: 39.84 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.006779, allocations: 183.3 kB / 330.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.006783, allocations: 0 / 330.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.006785, allocations: 4 kB / 330.5 MB, free: 2.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.00679, allocations: 0 / 330.5 MB, free: 2.59 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000542/0.007332, allocations: 456.5 kB / 330.9 MB, free: 2.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.007374, allocations: 8.031 kB / 330.9 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.007433, allocations: 24.86 kB / 331 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.007729, allocations: 205.8 kB / 331.2 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.00775, allocations: 4.375 kB / 331.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.007777, allocations: 8.375 kB / 331.2 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.007954, allocations: 103.4 kB / 331.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.007971, allocations: 12.11 kB / 331.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.007982, allocations: 8.375 kB / 331.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.007991, allocations: 3.938 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.008039, allocations: 29.62 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.008398, allocations: 288.8 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.008634, allocations: 182.7 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.008671, allocations: 33.94 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.008692, allocations: 8 kB / 331.8 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.008834, allocations: 111.8 kB / 331.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.008836, allocations: 0 / 331.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006427/0.009479, allocations: 316.6 kB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.009518, allocations: 81.11 kB / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.009728, allocations: 296.6 kB / 332.6 MB, free: 284 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.009755, allocations: 29.7 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.009807, allocations: 109.2 kB / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.009868, allocations: 79.41 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.009922, allocations: 41.69 kB / 332.9 MB, free: 4 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01005, allocations: 346.7 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.01009, allocations: 26.81 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.01015, allocations: 56.05 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.01026, allocations: 107.1 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01026, allocations: 0 / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001553/0.01041, allocations: 140.5 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01043, allocations: 4 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01043, allocations: 0 / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01045, allocations: 7.938 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01055, allocations: 43.97 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01056, allocations: 7.938 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.01061, allocations: 4 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01062, allocations: 8 kB / 333.6 MB, free: 15.23 MB / 314.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 9.779e-05/0.01072, allocations: 128.6 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.01075, allocations: 23.98 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.01096, allocations: 166.4 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01096, allocations: 4 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01096, allocations: 0 / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.01097, allocations: 0 / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01139, allocations: 0.5593 MB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01139, allocations: 0 / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.01145, allocations: 35.98 kB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01146, allocations: 0 / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01147, allocations: 12.12 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.01147, allocations: 11.88 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01147, allocations: 240 / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.01172, allocations: 411.3 kB / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.01174, allocations: 23.81 kB / 335 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.01177, allocations: 11.94 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.01185, allocations: 7.984 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.0119, allocations: 23.91 kB / 335 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.01192, allocations: 12 kB / 335 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.01202, allocations: 119.5 kB / 335.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 4 kB / 335.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.01224, allocations: 51.92 kB / 335.2 MB, free: 13.56 MB / 314.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.001467/0.0137, allocations: 0.6434 MB / 335.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01388, allocations: 102.8 kB / 335.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.01388, allocations: 4 kB / 335.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.01395, allocations: 60.89 kB / 336 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.01425, allocations: 64.7 kB / 336.1 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.0148, allocations: 457.6 kB / 336.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.932e-05/0.01487, allocations: 100.3 kB / 336.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.232e-05/0.01495, allocations: 42.09 kB / 336.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.01506, allocations: 91.38 kB / 336.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01506, allocations: 0 / 336.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Templates: time 0.005588/0.02065, allocations: 3.628 MB / 340.4 MB, free: 8.684 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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: 3.1248555066995323]