Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.001715/0.001715, allocations: 107.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.002508/0.002508, allocations: 208.9 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.556/1.556, allocations: 230.2 MB / 255.2 MB, free: 15.28 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.2445/0.2445, allocations: 46.88 MB / 358.1 MB, free: 10.54 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38") [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.002233/0.002233, allocations: 84.19 kB / 0.4924 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 65.99 MB / 0.5569 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003197/0.1287, allocations: 1.689 MB / 0.5585 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1304, allocations: 1.018 MB / 0.5595 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.1305, allocations: 8 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1308, allocations: 63.73 kB / 0.5596 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1311, allocations: 103.6 kB / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1313, allocations: 75.67 kB / 0.5598 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1315, allocations: 107.7 kB / 0.5599 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1315, allocations: 240 / 0.5599 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.1316, allocations: 51.77 kB / 0.5599 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1317, allocations: 55.7 kB / 0.56 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1318, allocations: 4 kB / 0.56 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.1318, allocations: 35.98 kB / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.1319, allocations: 19.92 kB / 0.56 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.1319, allocations: 27.8 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1321, allocations: 103.6 kB / 0.5601 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1321, allocations: 0 / 0.5601 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1321, allocations: 0 / 0.5601 GB, free: 2.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1322, allocations: 3.938 kB / 0.5601 GB, free: 2.504 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000591/0.1327, allocations: 418.7 kB / 0.5605 GB, free: 2.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1328, allocations: 8.031 kB / 0.5606 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1328, allocations: 24.83 kB / 0.5606 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1331, allocations: 208.9 kB / 0.5608 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1331, allocations: 4.375 kB / 0.5608 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1331, allocations: 384 / 0.5608 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1333, allocations: 53.98 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1333, allocations: 0 / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1333, allocations: 0 / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1333, allocations: 0 / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.1334, allocations: 19.92 kB / 0.5609 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1336, allocations: 185.6 kB / 0.561 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1338, allocations: 50.61 kB / 0.5611 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.1338, allocations: 16.86 kB / 0.5611 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1338, allocations: 0 / 0.5611 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.134, allocations: 83.27 kB / 0.5612 GB, free: 1.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.134, allocations: 0 / 0.5612 GB, free: 1.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002911/0.1343, allocations: 93.61 kB / 0.5613 GB, free: 1.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1343, allocations: 51.41 kB / 0.5613 GB, free: 1.129 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1345, allocations: 194.4 kB / 0.5615 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1346, allocations: 29.7 kB / 0.5615 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.1346, allocations: 104 kB / 0.5616 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1347, allocations: 15.89 kB / 0.5616 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.1347, allocations: 21.72 kB / 0.5617 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1349, allocations: 326.8 kB / 0.562 GB, free: 428 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.1349, allocations: 15.98 kB / 0.562 GB, free: 412 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.135, allocations: 25.66 kB / 0.562 GB, free: 380 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1351, allocations: 45.7 kB / 0.5621 GB, free: 328 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1351, allocations: 0 / 0.5621 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000162/0.1352, allocations: 89.47 kB / 0.5621 GB, free: 232 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1353, allocations: 8 kB / 0.5621 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1353, allocations: 0 / 0.5621 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1353, allocations: 3.984 kB / 0.5622 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.1354, allocations: 8 kB / 0.5622 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1354, allocations: 4 kB / 0.5622 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.1354, allocations: 0 / 0.5622 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1354, allocations: 8 kB / 0.5622 GB, free: 200 kB / 414.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 (7): * Single equations (assignments): 7 * 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.0001194/0.1355, allocations: 131.6 kB / 0.5623 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1356, allocations: 11.89 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1356, allocations: 13 kB / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1356, allocations: 7.984 kB / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1356, allocations: 0 / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1356, allocations: 0 / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1358, allocations: 185.9 kB / 0.5625 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1358, allocations: 3.938 kB / 0.5625 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.1358, allocations: 11.94 kB / 0.5625 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1358, allocations: 0 / 0.5625 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1358, allocations: 3.984 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1358, allocations: 4 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1358, allocations: 0 / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1361, allocations: 109 kB / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1361, allocations: 89 kB / 0.5627 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1361, allocations: 0 / 0.5627 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.1362, allocations: 4 kB / 0.5627 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1362, allocations: 3.984 kB / 0.5627 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1362, allocations: 8 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1364, allocations: 152.2 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1364, allocations: 3.938 kB / 0.5629 GB, free: 15.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.1366, allocations: 16 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001462/0.138, allocations: 415.2 kB / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1382, allocations: 39.98 kB / 0.5633 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1382, allocations: 0 / 0.5633 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.1383, allocations: 27.98 kB / 0.5634 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1386, allocations: 23.73 kB / 0.5634 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.139, allocations: 235.6 kB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1394, allocations: 0.7002 MB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.1394, allocations: 15.44 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1394, allocations: 0 / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of Templates: time 0.003828/0.1432, allocations: 1.734 MB / 0.566 GB, free: 12.27 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.85129064694047]