Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001549/0.001549, allocations: 114.9 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.001845/0.001845, 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.487/1.487, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.253/0.253, allocations: 46.88 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30") [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.002251/0.002251, allocations: 75.88 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1424, allocations: 65.98 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003518/0.1459, allocations: 1.7 MB / 0.5585 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.147, allocations: 0.5528 MB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.1471, allocations: 3.938 kB / 0.559 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1474, allocations: 71.7 kB / 0.5591 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1477, allocations: 107.6 kB / 0.5592 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1481, allocations: 134.8 kB / 0.5593 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1483, allocations: 91.8 kB / 0.5594 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1484, allocations: 16.22 kB / 0.5594 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.1485, allocations: 39.83 kB / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1486, allocations: 59.83 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1486, allocations: 4 kB / 0.5595 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1487, allocations: 55.95 kB / 0.5596 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.1488, allocations: 27.86 kB / 0.5596 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.1489, allocations: 31.75 kB / 0.5596 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1491, allocations: 115.5 kB / 0.5597 GB, free: 2.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1491, allocations: 3.938 kB / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1491, allocations: 0 / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1491, allocations: 0 / 0.5598 GB, free: 2.879 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000633/0.1497, allocations: 442.6 kB / 0.5602 GB, free: 2.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1498, allocations: 8.031 kB / 0.5602 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1498, allocations: 12.89 kB / 0.5602 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1501, allocations: 200.9 kB / 0.5604 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1501, allocations: 4.312 kB / 0.5604 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1501, allocations: 4.375 kB / 0.5604 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1503, allocations: 58.23 kB / 0.5605 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1503, allocations: 192 / 0.5605 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1503, allocations: 11.94 kB / 0.5605 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1503, allocations: 4 kB / 0.5605 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1505, allocations: 35.95 kB / 0.5605 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.1509, allocations: 316.6 kB / 0.5608 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1512, allocations: 46.56 kB / 0.5608 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.1513, allocations: 36.89 kB / 0.5609 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1513, allocations: 8.016 kB / 0.5609 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1513, allocations: 34.56 kB / 0.5609 GB, free: 1.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.1513, allocations: 0 / 0.5609 GB, free: 1.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00156/0.1529, allocations: 401.3 kB / 0.5613 GB, free: 1.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.153, allocations: 55.41 kB / 0.5614 GB, free: 1.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1532, allocations: 210.3 kB / 0.5616 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1532, allocations: 25.7 kB / 0.5616 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1533, allocations: 108.1 kB / 0.5617 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1533, allocations: 35.69 kB / 0.5617 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.1534, allocations: 21.72 kB / 0.5617 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1535, allocations: 326.8 kB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1537, allocations: 43.97 kB / 0.5621 GB, free: 268 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1538, allocations: 47.95 kB / 0.5621 GB, free: 220 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.154, allocations: 100.8 kB / 0.5622 GB, free: 116 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.154, allocations: 0 / 0.5622 GB, free: 116 kB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003575/0.1544, allocations: 149.5 kB / 0.5624 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.1544, allocations: 8 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1544, allocations: 0 / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1545, allocations: 0 / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1546, allocations: 23.98 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1546, allocations: 0 / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1547, allocations: 19.86 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1547, allocations: 4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001295/0.1548, allocations: 129.8 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.1548, allocations: 15.91 kB / 0.5626 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.1553, allocations: 163.4 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1553, allocations: 0 / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1553, allocations: 0 / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1553, allocations: 7.938 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.156, allocations: 476 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.156, allocations: 0 / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1561, allocations: 31.86 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1561, allocations: 4.062 kB / 0.5632 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1561, allocations: 7.984 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1561, allocations: 192 / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.1561, allocations: 8.094 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.1565, allocations: 261.1 kB / 0.5635 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1566, allocations: 92.95 kB / 0.5636 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1566, allocations: 4 kB / 0.5636 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.1567, allocations: 15.92 kB / 0.5636 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1568, allocations: 4 kB / 0.5636 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1568, allocations: 7.984 kB / 0.5636 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1569, allocations: 164.2 kB / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1569, allocations: 0 / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1572, allocations: 31.94 kB / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001776/0.159, allocations: 448.9 kB / 0.5642 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1594, allocations: 111.8 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1594, allocations: 0 / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1595, allocations: 55.91 kB / 0.5644 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.16, allocations: 37.45 kB / 0.5644 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.1607, allocations: 338.3 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1611, allocations: 0.7119 MB / 0.5654 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.1611, allocations: 19.44 kB / 0.5655 GB, free: 12.79 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1611, allocations: 0 / 0.5655 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Templates: time 0.004395/0.1655, allocations: 1.968 MB / 0.5674 GB, free: 10.82 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 7.962413541972637]