Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 112.8 kB / 19.17 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 214.6 kB / 22.13 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.2 MB / 255.1 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.88 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.86 kB / 0.4924 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 65.99 MB / 0.5569 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003219/0.129, allocations: 1.741 MB / 0.5586 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.1316, allocations: 1.644 MB / 0.5602 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.1317, allocations: 0 / 0.5602 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.132, allocations: 35.77 kB / 0.5602 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1323, allocations: 103.5 kB / 0.5603 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1325, allocations: 83.67 kB / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1327, allocations: 111.7 kB / 0.5605 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.1328, allocations: 15.98 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1329, allocations: 51.77 kB / 0.5606 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1331, allocations: 43.83 kB / 0.5606 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1331, allocations: 4 kB / 0.5606 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.1333, allocations: 111.9 kB / 0.5607 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1334, allocations: 23.92 kB / 0.5607 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1334, allocations: 35.75 kB / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1338, allocations: 179.3 kB / 0.561 GB, free: 1.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1338, allocations: 8 kB / 0.561 GB, free: 1.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1338, allocations: 0 / 0.561 GB, free: 1.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1338, allocations: 0 / 0.561 GB, free: 1.613 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000697/0.1345, allocations: 446.5 kB / 0.5614 GB, free: 1.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1345, allocations: 12.03 kB / 0.5614 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.1346, allocations: 8.891 kB / 0.5614 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1349, allocations: 212.2 kB / 0.5616 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.135, allocations: 4.375 kB / 0.5616 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.135, allocations: 4.375 kB / 0.5616 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1352, allocations: 83.64 kB / 0.5617 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1352, allocations: 3.953 kB / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1352, allocations: 0 / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1352, allocations: 0 / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1353, allocations: 31.97 kB / 0.5617 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.1357, allocations: 300.7 kB / 0.562 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1359, allocations: 70.61 kB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.136, allocations: 24.84 kB / 0.5621 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.136, allocations: 4 kB / 0.5621 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.1362, allocations: 67.39 kB / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1362, allocations: 4 kB / 0.5622 GB, free: 196 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006345/0.1368, allocations: 209.4 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.1369, allocations: 81.05 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.1371, allocations: 166.2 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1371, allocations: 29.7 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1372, allocations: 104.1 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1372, allocations: 23.81 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1373, allocations: 29.7 kB / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1375, allocations: 334.8 kB / 0.5631 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.1375, allocations: 27.98 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.1376, allocations: 46.5 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1378, allocations: 73.64 kB / 0.5633 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1378, allocations: 0 / 0.5633 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002347/0.138, allocations: 117.6 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.138, allocations: 8 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.138, allocations: 0 / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1381, allocations: 0 / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1382, allocations: 19.98 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1382, allocations: 0 / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.1382, allocations: 4 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1382, allocations: 0 / 0.5634 GB, free: 14.86 MB / 430.1 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 (11): * Single equations (assignments): 11 * 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.0001318/0.1384, allocations: 133.7 kB / 0.5635 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1384, allocations: 15.98 kB / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.1384, allocations: 16.89 kB / 0.5636 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1384, allocations: 3.938 kB / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1384, allocations: 3.938 kB / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1385, allocations: 0 / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.139, allocations: 423.2 kB / 0.564 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.139, allocations: 0 / 0.564 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.139, allocations: 12 kB / 0.564 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.139, allocations: 4.031 kB / 0.564 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1391, allocations: 0 / 0.564 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.1391, allocations: 11.92 kB / 0.564 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1391, allocations: 0 / 0.564 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1393, allocations: 212.3 kB / 0.5642 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1394, allocations: 81.06 kB / 0.5643 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1394, allocations: 7.984 kB / 0.5643 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1395, allocations: 15.92 kB / 0.5643 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1396, allocations: 4 kB / 0.5643 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1396, allocations: 7.984 kB / 0.5643 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1397, allocations: 132.1 kB / 0.5644 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1397, allocations: 0 / 0.5644 GB, free: 13.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.14, allocations: 55.8 kB / 0.5645 GB, free: 13.64 MB / 430.1 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.001969/0.142, allocations: 0.5447 MB / 0.565 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1422, allocations: 71.84 kB / 0.5651 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1422, allocations: 0 / 0.5651 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.1423, allocations: 27.98 kB / 0.5651 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1427, allocations: 27.98 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.1433, allocations: 248.9 kB / 0.5654 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1437, allocations: 0.7041 MB / 0.5661 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.1438, allocations: 19.42 kB / 0.5661 GB, free: 12.13 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1438, allocations: 4 kB / 0.5661 GB, free: 12.13 MB / 430.1 MB Notification: Performance of Templates: time 0.005257/0.149, allocations: 2.529 MB / 0.5686 GB, free: 9.609 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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: 7.9390659290365875]