Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.001267/0.001267, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001363/0.001363, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.518/1.518, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.2405/0.2405, allocations: 46.89 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") [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.002239/0.002239, allocations: 79.86 kB / 0.4924 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1297, allocations: 65.99 MB / 0.5569 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003184/0.1329, allocations: 1.729 MB / 0.5586 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1353, allocations: 1.64 MB / 0.5602 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.1354, allocations: 0 / 0.5602 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1356, allocations: 39.77 kB / 0.5602 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1359, allocations: 107.5 kB / 0.5603 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1361, allocations: 79.66 kB / 0.5604 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1363, allocations: 103.7 kB / 0.5605 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.1364, allocations: 8 kB / 0.5605 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1365, allocations: 55.77 kB / 0.5606 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1367, allocations: 43.83 kB / 0.5606 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1367, allocations: 4 kB / 0.5606 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1369, allocations: 111.9 kB / 0.5607 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.1369, allocations: 15.92 kB / 0.5607 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.137, allocations: 35.75 kB / 0.5608 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1373, allocations: 175.4 kB / 0.5609 GB, free: 1.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1373, allocations: 0 / 0.5609 GB, free: 1.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1373, allocations: 0 / 0.5609 GB, free: 1.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1373, allocations: 0 / 0.5609 GB, free: 1.672 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.0005997/0.1379, allocations: 432.8 kB / 0.5613 GB, free: 1.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1379, allocations: 8.031 kB / 0.5613 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1379, allocations: 16.78 kB / 0.5614 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1383, allocations: 212.7 kB / 0.5616 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1383, allocations: 8.312 kB / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1383, allocations: 8.125 kB / 0.5616 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1385, allocations: 79.33 kB / 0.5617 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1385, allocations: 3.984 kB / 0.5617 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1385, allocations: 0 / 0.5617 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1385, allocations: 3.984 kB / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.1386, allocations: 16 kB / 0.5617 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.139, allocations: 288.9 kB / 0.562 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1391, allocations: 58.61 kB / 0.562 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1392, allocations: 16.86 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1392, allocations: 4 kB / 0.562 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.1394, allocations: 67.39 kB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1394, allocations: 0 / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005352/0.1399, allocations: 177.3 kB / 0.5623 GB, free: 128 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.14, allocations: 77.11 kB / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1401, allocations: 166.5 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1402, allocations: 25.7 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1402, allocations: 96.12 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1403, allocations: 27.8 kB / 0.5626 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.1403, allocations: 29.72 kB / 0.5627 GB, free: 15.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1405, allocations: 334.7 kB / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.1405, allocations: 19.98 kB / 0.563 GB, free: 15.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1406, allocations: 42.56 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1408, allocations: 49.72 kB / 0.5631 GB, free: 15.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1408, allocations: 0 / 0.5631 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.141, allocations: 109.6 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.141, allocations: 5.719 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.141, allocations: 0 / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.141, allocations: 4 kB / 0.5632 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.1411, allocations: 12 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1411, allocations: 7.922 kB / 0.5632 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1412, allocations: 7.938 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1412, allocations: 0 / 0.5632 GB, free: 15.05 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 (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 0.000105/0.1413, allocations: 129.8 kB / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1413, allocations: 8.141 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.1413, allocations: 16.7 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1414, allocations: 11.88 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1414, allocations: 0 / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1414, allocations: 3.938 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.1418, allocations: 395.8 kB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1418, allocations: 0 / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1419, allocations: 16.03 kB / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1419, allocations: 0 / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1419, allocations: 15.92 kB / 0.5638 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1419, allocations: 80 / 0.5638 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1419, allocations: 3.984 kB / 0.5638 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1421, allocations: 200.3 kB / 0.564 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.1422, allocations: 85.06 kB / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1422, allocations: 11.94 kB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.1423, allocations: 7.984 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1423, allocations: 4 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1424, allocations: 4 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1425, allocations: 131.9 kB / 0.5642 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1425, allocations: 0 / 0.5642 GB, free: 13.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1428, allocations: 43.88 kB / 0.5643 GB, free: 13.88 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 (8): * Single equations (assignments): 6 * 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.001864/0.1446, allocations: 0.5431 MB / 0.5648 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1448, allocations: 59.91 kB / 0.5649 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1448, allocations: 0 / 0.5649 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.1449, allocations: 27.92 kB / 0.5649 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1453, allocations: 31.55 kB / 0.5649 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.1457, allocations: 228.5 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.146, allocations: 0.704 MB / 0.5658 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1461, allocations: 19.42 kB / 0.5658 GB, free: 12.41 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1461, allocations: 0 / 0.5658 GB, free: 12.41 MB / 430.1 MB Notification: Performance of Templates: time 0.00451/0.1506, allocations: 2.417 MB / 0.5682 GB, free: 10 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.8703161019366235]