Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001284/0.001284, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001409/0.001409, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.613 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.2556/0.2556, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.214e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002579/0.002601, allocations: 1.774 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.004409, allocations: 0.9975 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004524, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.004958, allocations: 47.7 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.005301, allocations: 95.48 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.00552, allocations: 83.59 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.00568, allocations: 107.7 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.005775, allocations: 11.94 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.005859, allocations: 47.84 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.005933, allocations: 27.89 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.005947, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.006037, allocations: 43.92 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.006087, allocations: 31.86 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.006126, allocations: 19.92 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.006296, allocations: 95.66 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006299, allocations: 0 / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0063, allocations: 4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006305, allocations: 0 / 381.5 MB, free: 15.16 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.0005289/0.006834, allocations: 443.9 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.006875, allocations: 8.031 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.006931, allocations: 16.83 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.007117, allocations: 148.4 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.007137, allocations: 4.375 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.007158, allocations: 12.36 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.007284, allocations: 58.94 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.007296, allocations: 3.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.007306, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.007315, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.007351, allocations: 11.94 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.007654, allocations: 283.8 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.00777, allocations: 47.11 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.007803, allocations: 27.67 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.007816, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.007917, allocations: 76.98 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.007918, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003962/0.008315, allocations: 157.3 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.008347, allocations: 55.41 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.008471, allocations: 226.6 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.008483, allocations: 29.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.008538, allocations: 146.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.008564, allocations: 23.8 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.008599, allocations: 39.36 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.008721, allocations: 0.4923 MB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.008745, allocations: 8 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.008781, allocations: 35.36 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.008839, allocations: 55.23 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.00884, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001081/0.008948, allocations: 101.6 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.008962, allocations: 8 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008966, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.008978, allocations: 4.031 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.00905, allocations: 15.98 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.009055, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.009084, allocations: 7.984 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.009093, allocations: 8 kB / 384 MB, free: 12.42 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 7.6e-05/0.009169, allocations: 168 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.009186, allocations: 15.89 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.009356, allocations: 103.1 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.009359, allocations: 0 / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009364, allocations: 0 / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.009368, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.009685, allocations: 392.9 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009687, allocations: 0 / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.009717, allocations: 19.92 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.00972, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009727, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.00973, allocations: 4 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009731, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.009871, allocations: 255.4 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.009883, allocations: 11.91 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.0099, allocations: 8.031 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.00994, allocations: 7.984 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.009973, allocations: 4.359 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.009986, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.251e-05/0.01006, allocations: 171.8 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01006, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.01023, allocations: 23.94 kB / 385.2 MB, free: 11.17 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.0009407/0.01117, allocations: 432.1 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.0113, allocations: 59.59 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.0113, allocations: 4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.01134, allocations: 31.61 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01156, allocations: 31.97 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.01189, allocations: 210.3 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.01193, allocations: 67.34 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.01196, allocations: 21.03 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.01199, allocations: 16.5 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01199, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003737/0.01573, allocations: 2.014 MB / 388.1 MB, free: 8.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.139147136360407]