Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.0009087/0.0009087, allocations: 82.59 kB / 21.42 MB, free: 3.066 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.0009065/0.0009065, allocations: 172.5 kB / 24.83 MB, free: 9.266 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 0.9477/0.9477, allocations: 177 MB / 205.1 MB, free: 5.484 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.2774/0.2774, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 379.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.427e-05, allocations: 6.812 kB / 379.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002413/0.002437, allocations: 1.716 MB / 381 MB, free: 36 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003903, allocations: 0.9876 MB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.003976, allocations: 0 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.004281, allocations: 75.66 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.004541, allocations: 107.5 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.00467, allocations: 67.69 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.004815, allocations: 115.5 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.004851, allocations: 8.219 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.004937, allocations: 55.89 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.005023, allocations: 43.89 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.005037, allocations: 4 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.005099, allocations: 35.91 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.005144, allocations: 27.86 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.005175, allocations: 15.94 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.005315, allocations: 87.66 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005317, allocations: 0 / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005318, allocations: 0 / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.005321, allocations: 0 / 382.6 MB, free: 14.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000388/0.005709, allocations: 435.9 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.005745, allocations: 12.03 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.005779, allocations: 24.83 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.005908, allocations: 145.1 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.005923, allocations: 12.3 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.00593, allocations: 384 / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.999e-05/0.00603, allocations: 54.89 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.006037, allocations: 4.172 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.006043, allocations: 384 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.00605, allocations: 3.938 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.006071, allocations: 4 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.006182, allocations: 121.2 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.006257, allocations: 47.11 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.006277, allocations: 15.69 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.006291, allocations: 3.938 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.654e-05/0.006368, allocations: 65.05 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.006369, allocations: 0 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001354/0.006504, allocations: 77.58 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.006527, allocations: 51.41 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.006643, allocations: 234.2 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.006658, allocations: 41.64 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.006709, allocations: 146.9 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.006738, allocations: 19.83 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.006767, allocations: 27.36 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.006887, allocations: 0.4923 MB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.006906, allocations: 4 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.006931, allocations: 31.34 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.00697, allocations: 35.62 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006972, allocations: 0 / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.153e-05/0.007043, allocations: 73.58 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.007054, allocations: 4 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.00706, allocations: 7.984 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.00707, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.007117, allocations: 8 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.007121, allocations: 3.938 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.007147, allocations: 7.953 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.007151, allocations: 0 / 384.8 MB, free: 12.02 MB / 362.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 (7): * Single equations (assignments): 7 * 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.933e-05/0.00722, allocations: 168.5 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.007233, allocations: 11.95 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.007329, allocations: 78.86 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007331, allocations: 3.938 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.007333, allocations: 0 / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.007337, allocations: 3.938 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.679e-05/0.007414, allocations: 121.2 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007415, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.007431, allocations: 7.984 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007433, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.007438, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007438, allocations: 3.938 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007439, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.475e-05/0.007524, allocations: 124.3 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.007536, allocations: 8.141 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.007551, allocations: 8 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.007569, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.007592, allocations: 7.984 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.0076, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.007661, allocations: 163.1 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007661, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.007791, allocations: 19.94 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007966/0.008587, allocations: 374.8 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.092e-05/0.008668, allocations: 39.61 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008669, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.0087, allocations: 19.69 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.008877, allocations: 39.41 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.009193, allocations: 198.2 kB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.009233, allocations: 63.34 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.009262, allocations: 12.47 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.009328, allocations: 86.19 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.009328, allocations: 0 / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003433/0.01276, allocations: 1.787 MB / 388.1 MB, free: 8.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.9493064652197063]