Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001978/0.001978, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002094/0.002094, allocations: 165.3 kB / 24.27 MB, free: 156 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3318/0.3318, allocations: 34.27 MB / 295.3 MB, free: 0.668 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.565e-05, allocations: 2.312 kB / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003317/0.003343, allocations: 1.739 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.006124, allocations: 1.695 MB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.006188, allocations: 3.938 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.006467, allocations: 47.7 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.006814, allocations: 103.4 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.007022, allocations: 79.66 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.007222, allocations: 115.5 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.007301, allocations: 8 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.007436, allocations: 55.78 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.007568, allocations: 35.89 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.007591, allocations: 4 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.007787, allocations: 103.9 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.007842, allocations: 19.94 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.007896, allocations: 27.91 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.008218, allocations: 183.3 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00822, allocations: 0 / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.008221, allocations: 0 / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.008225, allocations: 0 / 381.6 MB, free: 14.66 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.0006556/0.00888, allocations: 451.5 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.008913, allocations: 8.031 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.008969, allocations: 8.891 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.009219, allocations: 152.9 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.009243, allocations: 4.375 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.009269, allocations: 16.36 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.009473, allocations: 102.6 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.009486, allocations: 4 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.009495, allocations: 0 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.009499, allocations: 0 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.009572, allocations: 15.98 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.009999, allocations: 295.7 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.0102, allocations: 71.11 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.01026, allocations: 23.67 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01028, allocations: 8 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.01043, allocations: 65.05 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.01044, allocations: 0 / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.01104, allocations: 181.3 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.01111, allocations: 77.11 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.01137, allocations: 232.7 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.01139, allocations: 25.7 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.0115, allocations: 150.9 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.01153, allocations: 23.8 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.01159, allocations: 35.36 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.01187, allocations: 0.4962 MB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.01193, allocations: 27.92 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.01203, allocations: 76.75 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01217, allocations: 67.42 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01217, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002152/0.01239, allocations: 109.5 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.0124, allocations: 4 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.0124, allocations: 0 / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01242, allocations: 4 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.01251, allocations: 15.98 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01251, allocations: 8 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.01256, allocations: 8 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.01257, allocations: 0 / 384.3 MB, free: 11.69 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.00014/0.01271, allocations: 172.5 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.01275, allocations: 15.89 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.01301, allocations: 118.4 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.01303, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01303, allocations: 0 / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01303, allocations: 0 / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.01357, allocations: 417 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01357, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.01362, allocations: 8 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.01362, allocations: 4 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.01363, allocations: 384 / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01363, allocations: 0 / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01363, allocations: 4 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.01397, allocations: 275.4 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01399, allocations: 11.94 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.01401, allocations: 0 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.01409, allocations: 8 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01414, allocations: 15.95 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01415, allocations: 4 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.0143, allocations: 173.7 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0143, allocations: 0 / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.0146, allocations: 55.8 kB / 385.6 MB, free: 10.34 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.003674/0.01828, allocations: 0.5941 MB / 386.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.01849, allocations: 67.59 kB / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01849, allocations: 0 / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.01857, allocations: 35.67 kB / 386.2 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.01895, allocations: 37.09 kB / 386.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.01942, allocations: 217.8 kB / 386.5 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01952, allocations: 89.56 kB / 386.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.397e-05/0.01959, allocations: 25.27 kB / 386.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.01964, allocations: 20.48 kB / 386.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01964, allocations: 0 / 386.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of Templates: time 0.006583/0.02622, allocations: 2.528 MB / 389.2 MB, free: 6.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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: 4.962401938042603]