Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001489/0.001489, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.0019/0.0019, allocations: 161.7 kB / 24.27 MB, free: 172 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.556/1.556, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3485/0.3485, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 375.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.108e-05, allocations: 2.312 kB / 375.4 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003625/0.003656, allocations: 1.75 MB / 377.1 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.005724, allocations: 0.982 MB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.005813, allocations: 0 / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.006247, allocations: 103.6 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.006678, allocations: 135.4 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.006936, allocations: 83.59 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.007205, allocations: 143.6 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.007328, allocations: 21.45 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.007475, allocations: 71.88 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.007629, allocations: 75.77 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.007654, allocations: 4 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.007799, allocations: 59.92 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.007875, allocations: 31.86 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.007946, allocations: 35.91 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.00827, allocations: 163.4 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.008276, allocations: 0 / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.008277, allocations: 0 / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.008283, allocations: 0 / 379 MB, free: 1.203 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007423/0.009025, allocations: 381.3 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.009064, allocations: 11.97 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.009144, allocations: 24.84 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.009504, allocations: 170.4 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.009522, allocations: 4.375 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.009553, allocations: 8.375 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.00976, allocations: 74.22 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.009777, allocations: 3.938 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.009789, allocations: 4 kB / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.009794, allocations: 0 / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.009926, allocations: 39.95 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.01046, allocations: 284.3 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.0108, allocations: 74.48 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.0109, allocations: 32.84 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.01093, allocations: 0 / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.01115, allocations: 79.31 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.01115, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001154/0.01231, allocations: 325.6 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.01237, allocations: 51.52 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.01271, allocations: 271.8 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.01274, allocations: 29.7 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.01288, allocations: 120.1 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.01295, allocations: 47.78 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.01302, allocations: 33.7 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.01323, allocations: 330.8 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.01333, allocations: 43.98 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01345, allocations: 61.62 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.01367, allocations: 109.3 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01367, allocations: 0 / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003381/0.01401, allocations: 173.5 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01403, allocations: 8.031 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01403, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.01406, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01417, allocations: 31.98 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01417, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.01423, allocations: 4 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01424, allocations: 7.938 kB / 381.8 MB, free: 14.23 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 (16): * Single equations (assignments): 16 * 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.0001666/0.01441, allocations: 141.8 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.01446, allocations: 19.91 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.01491, allocations: 206.5 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01491, allocations: 8 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.01492, allocations: 4 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01493, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.01566, allocations: 463.6 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01566, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.01574, allocations: 20 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01575, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.01577, allocations: 15.92 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01577, allocations: 3.938 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01578, allocations: 8.062 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.01618, allocations: 273.1 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.01622, allocations: 19.78 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.01626, allocations: 11.98 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.01634, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.0164, allocations: 11.98 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.01642, allocations: 11.98 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.01666, allocations: 193.5 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01666, allocations: 0 / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.01697, allocations: 43.92 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002551/0.01952, allocations: 0.5421 MB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.01981, allocations: 107.9 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01981, allocations: 4 kB / 383.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.01993, allocations: 51.92 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.02035, allocations: 43.66 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.02122, allocations: 358.6 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.02136, allocations: 115.4 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.02143, allocations: 25.47 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.02149, allocations: 24.48 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02149, allocations: 4 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.006558/0.02805, allocations: 2.363 MB / 386.8 MB, free: 9.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.866241400013678]