Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.0007793/0.0007793, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007576/0.0007576, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7523/0.7523, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1208/0.1208, allocations: 32.36 MB / 270.3 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.735e-05, allocations: 13.66 kB / 408.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001906/0.001923, allocations: 1.676 MB / 409.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.002808, allocations: 0.7763 MB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.002874, allocations: 3.938 kB / 410.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.003168, allocations: 35.83 kB / 410.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.00335, allocations: 59.69 kB / 410.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.003512, allocations: 87.64 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.003659, allocations: 103.6 kB / 410.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.003744, allocations: 4.234 kB / 410.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.003815, allocations: 55.84 kB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.003881, allocations: 27.89 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003898, allocations: 4 kB / 411 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.003972, allocations: 43.92 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.004032, allocations: 15.94 kB / 411.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.004073, allocations: 27.84 kB / 411.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004236, allocations: 111.6 kB / 411.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004238, allocations: 0 / 411.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004238, allocations: 0 / 411.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.004242, allocations: 3.938 kB / 411.2 MB, free: 9.883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003903/0.004632, allocations: 341.6 kB / 411.5 MB, free: 9.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.004664, allocations: 8.031 kB / 411.6 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.004699, allocations: 12.89 kB / 411.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.004859, allocations: 147.7 kB / 411.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.004869, allocations: 384 / 411.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004888, allocations: 4.375 kB / 411.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.005008, allocations: 54.23 kB / 411.8 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.00502, allocations: 3.938 kB / 411.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005031, allocations: 8 kB / 411.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.005035, allocations: 0 / 411.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.005087, allocations: 19.98 kB / 411.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.005343, allocations: 236.5 kB / 412 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.005456, allocations: 62.67 kB / 412.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.00549, allocations: 24.78 kB / 412.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005502, allocations: 0 / 412.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.756e-05/0.0056, allocations: 67.39 kB / 412.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.005602, allocations: 3.984 kB / 412.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003849/0.005987, allocations: 185.3 kB / 412.4 MB, free: 8.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.006015, allocations: 55.41 kB / 412.4 MB, free: 8.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.00613, allocations: 194.2 kB / 412.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006141, allocations: 25.7 kB / 412.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.006183, allocations: 100.1 kB / 412.7 MB, free: 8.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.006205, allocations: 23.8 kB / 412.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.006237, allocations: 29.7 kB / 412.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.006316, allocations: 322.8 kB / 413.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.006348, allocations: 20 kB / 413.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.006389, allocations: 37.69 kB / 413.2 MB, free: 7.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.00646, allocations: 65.64 kB / 413.2 MB, free: 7.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.006461, allocations: 0 / 413.2 MB, free: 7.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.006568, allocations: 105.6 kB / 413.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.00658, allocations: 6.656 kB / 413.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.006586, allocations: 0 / 413.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.006596, allocations: 4 kB / 413.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.006656, allocations: 15.98 kB / 413.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006661, allocations: 3.938 kB / 413.4 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.006688, allocations: 12.14 kB / 413.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.006693, allocations: 160 / 413.4 MB, free: 7.547 MB / 346.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 6.682e-05/0.00676, allocations: 141.7 kB / 413.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.006771, allocations: 7.953 kB / 413.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.006925, allocations: 122.4 kB / 413.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006927, allocations: 4 kB / 413.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006931, allocations: 0 / 413.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006935, allocations: 0 / 413.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.007194, allocations: 346.9 kB / 414 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007195, allocations: 0 / 414 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.007215, allocations: 8 kB / 414 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007218, allocations: 8.406 kB / 414 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007225, allocations: 7.938 kB / 414 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.007227, allocations: 4 kB / 414 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007227, allocations: 0 / 414 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007358, allocations: 220.2 kB / 414.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.007369, allocations: 7.953 kB / 414.2 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007384, allocations: 4 kB / 414.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.007421, allocations: 4 kB / 414.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.007449, allocations: 7.984 kB / 414.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.007461, allocations: 4 kB / 414.2 MB, free: 6.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.007542, allocations: 159.1 kB / 414.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007542, allocations: 0 / 414.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.007705, allocations: 23.92 kB / 414.4 MB, free: 6.41 MB / 346.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.0007298/0.008434, allocations: 494.7 kB / 414.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.008553, allocations: 55.91 kB / 415 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008554, allocations: 0 / 415 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.008595, allocations: 31.94 kB / 415 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.008809, allocations: 27.97 kB / 415 MB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.00913, allocations: 256.2 kB / 415.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.009187, allocations: 92.44 kB / 415.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.009216, allocations: 20.5 kB / 415.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009216, allocations: 0 / 415.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of Templates: time 0.00244/0.01166, allocations: 1.961 MB / 417.3 MB, free: 3.488 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.558775125071406]