Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001819/0.001819, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.0023/0.0023, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.52/1.52, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.2357/0.2357, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [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.002318/0.002318, allocations: 83.84 kB / 0.4924 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 65.99 MB / 0.5569 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003502/0.148, allocations: 1.733 MB / 0.5586 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1499, allocations: 1.053 MB / 0.5596 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.15, allocations: 7.938 kB / 0.5596 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1503, allocations: 39.77 kB / 0.5596 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1507, allocations: 87.61 kB / 0.5597 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.151, allocations: 83.66 kB / 0.5598 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1512, allocations: 103.7 kB / 0.5599 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1513, allocations: 19.95 kB / 0.5599 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1514, allocations: 51.72 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.1515, allocations: 39.78 kB / 0.56 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1515, allocations: 8 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1517, allocations: 115.9 kB / 0.5601 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1518, allocations: 27.84 kB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.1519, allocations: 35.73 kB / 0.5602 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1522, allocations: 175.4 kB / 0.5604 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1522, allocations: 0 / 0.5604 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1522, allocations: 0 / 0.5604 GB, free: 2.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1522, allocations: 0 / 0.5604 GB, free: 2.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006534/0.1528, allocations: 438.5 kB / 0.5608 GB, free: 1.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1529, allocations: 11.97 kB / 0.5608 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.1529, allocations: 16.89 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1533, allocations: 212.2 kB / 0.561 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1533, allocations: 4.375 kB / 0.561 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1533, allocations: 4.375 kB / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1535, allocations: 75.69 kB / 0.5611 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1535, allocations: 0 / 0.5611 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1535, allocations: 0 / 0.5611 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1535, allocations: 4 kB / 0.5611 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.1536, allocations: 19.92 kB / 0.5611 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.154, allocations: 273 kB / 0.5614 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1543, allocations: 70.55 kB / 0.5614 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.1543, allocations: 24.97 kB / 0.5615 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1544, allocations: 0 / 0.5615 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1545, allocations: 83.3 kB / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1545, allocations: 0 / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006437/0.1552, allocations: 201.3 kB / 0.5617 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.1552, allocations: 85.09 kB / 0.5618 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1554, allocations: 174 kB / 0.562 GB, free: 384 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1555, allocations: 29.7 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.1555, allocations: 92.14 kB / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.1556, allocations: 31.8 kB / 0.5621 GB, free: 220 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1556, allocations: 33.7 kB / 0.5622 GB, free: 180 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1558, allocations: 326.8 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.1558, allocations: 35.92 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.1559, allocations: 50.5 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1561, allocations: 85.67 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1561, allocations: 96 / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002335/0.1563, allocations: 121.5 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1563, allocations: 11.98 kB / 0.5628 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1563, allocations: 0 / 0.5628 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1563, allocations: 0 / 0.5628 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1565, allocations: 16 kB / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.1565, allocations: 4 kB / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.1565, allocations: 3.984 kB / 0.5628 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1565, allocations: 7.938 kB / 0.5628 GB, free: 15.5 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 (13): * Single equations (assignments): 13 * 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.0001326/0.1567, allocations: 137.7 kB / 0.5629 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1567, allocations: 11.91 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.1567, allocations: 16.7 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1567, allocations: 4 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1567, allocations: 0 / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1567, allocations: 0 / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.1573, allocations: 435.1 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1573, allocations: 0 / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.1574, allocations: 15.98 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1574, allocations: 4 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1574, allocations: 7.938 kB / 0.5634 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1574, allocations: 0 / 0.5634 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1574, allocations: 0 / 0.5634 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1577, allocations: 216.3 kB / 0.5636 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1579, allocations: 93.03 kB / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1579, allocations: 7.938 kB / 0.5637 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.158, allocations: 0 / 0.5637 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.158, allocations: 11.98 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1581, allocations: 4 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1582, allocations: 131.1 kB / 0.5638 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1582, allocations: 192 / 0.5638 GB, free: 14.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.1585, allocations: 55.81 kB / 0.5639 GB, free: 14.26 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 (10): * Single equations (assignments): 8 * 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.001993/0.1605, allocations: 0.5511 MB / 0.5644 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1607, allocations: 71.91 kB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.1608, allocations: 4.062 kB / 0.5645 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.1608, allocations: 35.92 kB / 0.5645 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1612, allocations: 28.91 kB / 0.5646 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.1617, allocations: 236.8 kB / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1621, allocations: 0.7006 MB / 0.5655 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1622, allocations: 31.48 kB / 0.5655 GB, free: 12.74 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1622, allocations: 3.938 kB / 0.5655 GB, free: 12.74 MB / 430.1 MB Notification: Performance of Templates: time 0.005082/0.1672, allocations: 2.571 MB / 0.568 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 8.103403683984652]