Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001876/0.001876, 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.002052/0.002052, allocations: 160.8 kB / 24.27 MB, free: 152 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.632/1.632, allocations: 177 MB / 204.4 MB, free: 5.637 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.3753/0.3753, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.403e-05, allocations: 10.25 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003468/0.003502, allocations: 1.734 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.006489, allocations: 1.706 MB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.006566, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.006882, allocations: 47.64 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.007246, allocations: 99.47 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.00747, allocations: 79.59 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.007663, allocations: 111.6 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.007746, allocations: 7.984 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.007869, allocations: 63.77 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.008, allocations: 35.89 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.008023, allocations: 8 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.00822, allocations: 99.88 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.008284, allocations: 19.92 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.008335, allocations: 19.92 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.008679, allocations: 183.3 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.008686, allocations: 4 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.008688, allocations: 0 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.008693, allocations: 0 / 381.5 MB, free: 14.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001026/0.009719, allocations: 451.5 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.009764, allocations: 8.031 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.009842, allocations: 20.83 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.01014, allocations: 156.9 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.01016, allocations: 384 / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.01018, allocations: 4.375 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.0104, allocations: 95.31 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01042, allocations: 7.938 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.01043, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.01043, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.01052, allocations: 15.92 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.01098, allocations: 295.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.01117, allocations: 63.16 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.01123, allocations: 27.61 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.01126, allocations: 4 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.01142, allocations: 72.98 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01142, allocations: 4 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.01201, allocations: 177.3 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.01208, allocations: 77.11 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.01233, allocations: 237.6 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.01236, allocations: 25.7 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01246, allocations: 150.9 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.0125, allocations: 27.8 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.01256, allocations: 35.36 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.01283, allocations: 0.4962 MB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.01289, allocations: 16 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01299, allocations: 76.75 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01313, allocations: 71.23 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01313, allocations: 384 / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000224/0.01335, allocations: 109.5 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01337, allocations: 7.984 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01338, allocations: 4.062 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.0134, allocations: 8 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.01349, allocations: 12 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.0135, allocations: 160 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.01355, allocations: 8 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01356, allocations: 7.969 kB / 384.2 MB, free: 11.6 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 (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 0.0001488/0.01371, allocations: 168.5 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.01374, allocations: 11.89 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.01402, allocations: 118.4 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.01403, allocations: 4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01403, allocations: 4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.01404, allocations: 0 / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.01463, allocations: 409 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01463, allocations: 0 / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.01467, allocations: 11.94 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01468, allocations: 4 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.01469, allocations: 4 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01469, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01469, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.01506, allocations: 279.4 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.01508, allocations: 15.98 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01511, allocations: 0 / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.01518, allocations: 4 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.01524, allocations: 11.98 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01526, allocations: 4 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.01542, allocations: 171.1 kB / 385.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01542, allocations: 0 / 385.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.01573, allocations: 51.86 kB / 385.5 MB, free: 10.26 MB / 362.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.003757/0.01949, allocations: 0.5716 MB / 386 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.01974, allocations: 71.59 kB / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01975, allocations: 0 / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.951e-05/0.01985, allocations: 47.55 kB / 386.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02024, allocations: 31.34 kB / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.0208, allocations: 214 kB / 386.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.0209, allocations: 85.45 kB / 386.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.02098, allocations: 17.28 kB / 386.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.02104, allocations: 24.48 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02104, allocations: 0 / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of Templates: time 0.007109/0.02815, allocations: 2.54 MB / 389.1 MB, free: 6.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.124671488068998]