Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2831/0.2831, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.135e-05, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00593/0.005962, allocations: 1.774 MB / 379.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.008245, allocations: 1.722 MB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.008371, allocations: 3.938 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.008705, allocations: 27.83 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.01217, allocations: 115.3 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.01245, allocations: 75.67 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.01266, allocations: 111.6 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.01277, allocations: 4 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.01289, allocations: 63.75 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.01302, allocations: 35.89 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.01304, allocations: 8 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.01324, allocations: 99.81 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.01331, allocations: 23.86 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.01337, allocations: 23.91 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.01367, allocations: 155.5 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01368, allocations: 4 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01368, allocations: 0 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01369, allocations: 0 / 382.3 MB, free: 14.64 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.00057/0.01426, allocations: 455.8 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.0143, allocations: 8.031 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.01436, allocations: 12.89 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.0146, allocations: 152 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.01462, allocations: 4.375 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.01464, allocations: 4.375 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.01786, allocations: 115.3 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01787, allocations: 7.953 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.01789, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01789, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.01794, allocations: 11.98 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.0183, allocations: 283.8 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.01843, allocations: 59.09 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.01846, allocations: 15.67 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.01848, allocations: 8 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.0186, allocations: 73.05 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.0186, allocations: 0 / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004804/0.01908, allocations: 153.3 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.01914, allocations: 81.11 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01932, allocations: 220.8 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.01933, allocations: 29.69 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.0194, allocations: 138.9 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01943, allocations: 27.78 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.01948, allocations: 31.38 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.01963, allocations: 0.4961 MB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.01967, allocations: 23.86 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.01973, allocations: 68.75 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.0198, allocations: 47.44 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.0198, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001533/0.01996, allocations: 97.52 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01997, allocations: 5.875 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01998, allocations: 4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.02, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.02009, allocations: 15.98 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.02009, allocations: 4.062 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.02013, allocations: 7.938 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.02014, allocations: 8 kB / 385 MB, free: 11.77 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 9.157e-05/0.02023, allocations: 167.9 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.02026, allocations: 11.95 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.02045, allocations: 98.39 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02045, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.02046, allocations: 3.984 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02046, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.02387, allocations: 397 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.02387, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.02392, allocations: 11.98 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.02392, allocations: 0 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.02393, allocations: 4 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.02393, allocations: 0 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.02394, allocations: 384 / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.02413, allocations: 255.4 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.02414, allocations: 7.953 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.02417, allocations: 12 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.02424, allocations: 3.984 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.02428, allocations: 11.97 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.0243, allocations: 11.98 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.524e-05/0.02439, allocations: 157.6 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02439, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.02473, allocations: 55.8 kB / 386.1 MB, free: 10.5 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.001405/0.02614, allocations: 0.5414 MB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.02632, allocations: 51.61 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02632, allocations: 0 / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.02637, allocations: 31.67 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/0.02974, allocations: 38.61 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.03019, allocations: 209.8 kB / 387 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.895e-05/0.03024, allocations: 63.34 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.03029, allocations: 21.27 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.03034, allocations: 16.5 kB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03034, allocations: 0 / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of Templates: time 0.009477/0.03982, allocations: 2.533 MB / 389.6 MB, free: 7.164 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.433633554028347]