Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.001767/0.001767, allocations: 111.8 kB / 19.17 MB, free: 3.883 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.00228/0.00228, allocations: 204.9 kB / 22.13 MB, free: 0.9336 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.532/1.532, allocations: 230.2 MB / 255.1 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.2271/0.2271, allocations: 46.9 MB / 358.1 MB, free: 10.49 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62") [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.002231/0.002231, allocations: 84.05 kB / 0.4924 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1254, allocations: 65.99 MB / 0.5569 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003177/0.1286, allocations: 1.684 MB / 0.5585 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1303, allocations: 1.026 MB / 0.5595 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.1304, allocations: 0 / 0.5595 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1307, allocations: 59.75 kB / 0.5596 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.131, allocations: 95.58 kB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.1312, allocations: 79.62 kB / 0.5598 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1314, allocations: 95.73 kB / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.1314, allocations: 4.234 kB / 0.5598 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.1315, allocations: 43.78 kB / 0.5599 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.1316, allocations: 35.78 kB / 0.5599 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1316, allocations: 4 kB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.1317, allocations: 35.92 kB / 0.56 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.1317, allocations: 23.92 kB / 0.56 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.1318, allocations: 39.69 kB / 0.56 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1321, allocations: 119.4 kB / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1321, allocations: 0 / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1321, allocations: 0 / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1321, allocations: 0 / 0.5601 GB, free: 2.473 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.0006309/0.1327, allocations: 450.4 kB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1327, allocations: 8.031 kB / 0.5606 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1328, allocations: 16.89 kB / 0.5606 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1331, allocations: 233 kB / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1331, allocations: 384 / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1332, allocations: 384 / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1333, allocations: 53.98 kB / 0.5609 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1333, allocations: 3.938 kB / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1333, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1333, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.1334, allocations: 15.98 kB / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.1336, allocations: 197.7 kB / 0.5611 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1338, allocations: 54.55 kB / 0.5611 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1339, allocations: 12.86 kB / 0.5611 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1339, allocations: 7.984 kB / 0.5611 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.134, allocations: 71.33 kB / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.134, allocations: 0 / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002934/0.1343, allocations: 101.5 kB / 0.5613 GB, free: 1.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1344, allocations: 51.41 kB / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.1347, allocations: 270.8 kB / 0.5616 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1347, allocations: 25.7 kB / 0.5616 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.1348, allocations: 112.1 kB / 0.5617 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1348, allocations: 19.89 kB / 0.5618 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1349, allocations: 21.72 kB / 0.5618 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.135, allocations: 322.8 kB / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.1351, allocations: 15.98 kB / 0.5621 GB, free: 232 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.1351, allocations: 29.72 kB / 0.5621 GB, free: 196 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1352, allocations: 45.64 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1352, allocations: 0 / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001743/0.1354, allocations: 89.53 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1354, allocations: 7.984 kB / 0.5623 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1354, allocations: 4 kB / 0.5623 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1354, allocations: 0 / 0.5623 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.1355, allocations: 15.88 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1355, allocations: 0 / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.1356, allocations: 8.266 kB / 0.5623 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1356, allocations: 0 / 0.5623 GB, free: 12 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.0001352/0.1357, allocations: 143.5 kB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1357, allocations: 23.84 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1358, allocations: 20.98 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1358, allocations: 0 / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1358, allocations: 0 / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1358, allocations: 0 / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.136, allocations: 193.6 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.136, allocations: 4 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.136, allocations: 7.922 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.136, allocations: 4 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.136, allocations: 0 / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.136, allocations: 4 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.136, allocations: 7.875 kB / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1362, allocations: 117 kB / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1363, allocations: 88.95 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1363, allocations: 4 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.1363, allocations: 0 / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1364, allocations: 7.984 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1364, allocations: 4 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.1366, allocations: 204.6 kB / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1366, allocations: 0 / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1368, allocations: 15.98 kB / 0.5631 GB, free: 15.09 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.001446/0.1383, allocations: 409.2 kB / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1384, allocations: 43.92 kB / 0.5635 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1384, allocations: 0 / 0.5635 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/0.1385, allocations: 24.05 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1388, allocations: 30.81 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.1393, allocations: 304 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.1398, allocations: 0.7119 MB / 0.5646 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.1399, allocations: 15.44 kB / 0.5646 GB, free: 13.65 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1399, allocations: 0 / 0.5646 GB, free: 13.65 MB / 430.1 MB Notification: Performance of Templates: time 0.004152/0.144, allocations: 1.896 MB / 0.5664 GB, free: 11.76 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.928772714920342]