Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001345/0.001345, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001527/0.001527, allocations: 161 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.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.268/0.268, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 3.984 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.121e-05, allocations: 6.25 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002757/0.002788, allocations: 1.774 MB / 377.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004059, allocations: 1.001 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.004143, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.00445, allocations: 43.7 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.004795, allocations: 99.47 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.005016, allocations: 79.61 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005188, allocations: 111.7 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.00528, allocations: 4 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.005368, allocations: 55.78 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.005441, allocations: 27.89 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.005457, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.005553, allocations: 43.92 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.005608, allocations: 23.91 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.00565, allocations: 23.88 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.005837, allocations: 95.66 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.00584, allocations: 0 / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005842, allocations: 4 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.005847, allocations: 0 / 379.5 MB, free: 1.172 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.0004994/0.006347, allocations: 443.9 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.006386, allocations: 8.031 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.006437, allocations: 12.89 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.006629, allocations: 152.4 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.006651, allocations: 4.375 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.006679, allocations: 8.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.006821, allocations: 58.94 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006833, allocations: 3.938 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.006848, allocations: 7.984 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.006857, allocations: 0 / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.006893, allocations: 15.88 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.007216, allocations: 279.8 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.007331, allocations: 47.17 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.007365, allocations: 27.61 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.007388, allocations: 4 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.007517, allocations: 68.98 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.007519, allocations: 4 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004418/0.007961, allocations: 153.3 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.007995, allocations: 55.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.008129, allocations: 226.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.008145, allocations: 29.7 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.008204, allocations: 150.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.008232, allocations: 23.8 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.008268, allocations: 31.36 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008381, allocations: 0.4962 MB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.00841, allocations: 12 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.008447, allocations: 35.34 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.425e-05/0.008511, allocations: 55.25 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008513, allocations: 384 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.008627, allocations: 93.52 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00864, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008645, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.008663, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.008741, allocations: 16.03 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.008748, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.008785, allocations: 11.98 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.008792, allocations: 4 kB / 382 MB, free: 14.44 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 8.112e-05/0.008873, allocations: 164.5 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.008888, allocations: 11.95 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.009063, allocations: 111.2 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009066, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.009069, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.009074, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.009373, allocations: 396.9 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009375, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.009409, allocations: 19.92 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.009411, allocations: 3.938 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.00942, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.009423, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009425, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.009573, allocations: 259.4 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.009587, allocations: 11.91 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.009604, allocations: 4.031 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.009648, allocations: 7.984 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.009679, allocations: 4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.009698, allocations: 7.984 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.009778, allocations: 167.8 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009778, allocations: 0 / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.00996, allocations: 23.94 kB / 383.2 MB, free: 13.18 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.0009851/0.01094, allocations: 437.1 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01108, allocations: 59.59 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01108, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.01112, allocations: 31.61 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01137, allocations: 28.3 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.01176, allocations: 222.3 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01181, allocations: 63.34 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.682e-05/0.01184, allocations: 16.95 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.01188, allocations: 20.62 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01188, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.004462/0.01634, allocations: 1.871 MB / 385.9 MB, free: 10.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.4739345679990947]