Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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.001373/0.001373, 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.00148/0.00148, 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.521/1.521, allocations: 230.2 MB / 255.1 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.2368/0.2368, 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") [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.00233/0.00233, allocations: 79.81 kB / 0.4925 GB, free: 26.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1418, allocations: 65.98 MB / 0.5569 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003414/0.1452, allocations: 1.725 MB / 0.5586 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1471, allocations: 1.042 MB / 0.5596 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.1472, allocations: 0 / 0.5596 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1475, allocations: 51.75 kB / 0.5596 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1479, allocations: 95.55 kB / 0.5597 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1481, allocations: 83.66 kB / 0.5598 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1483, allocations: 91.77 kB / 0.5599 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1484, allocations: 11.98 kB / 0.5599 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1485, allocations: 47.78 kB / 0.56 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.1486, allocations: 39.72 kB / 0.56 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1486, allocations: 8 kB / 0.56 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1487, allocations: 51.91 kB / 0.56 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.1488, allocations: 19.92 kB / 0.5601 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.1489, allocations: 35.75 kB / 0.5601 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1491, allocations: 123.4 kB / 0.5602 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1491, allocations: 0 / 0.5602 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1491, allocations: 0 / 0.5602 GB, free: 5.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1491, allocations: 0 / 0.5602 GB, free: 5.098 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.0006876/0.1498, allocations: 430.6 kB / 0.5606 GB, free: 4.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1498, allocations: 12.03 kB / 0.5606 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1499, allocations: 8.891 kB / 0.5606 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1502, allocations: 220.1 kB / 0.5609 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1502, allocations: 384 / 0.5609 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1502, allocations: 8.359 kB / 0.5609 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1504, allocations: 57.98 kB / 0.5609 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1504, allocations: 0 / 0.5609 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1504, allocations: 3.938 kB / 0.5609 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1504, allocations: 0 / 0.5609 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.1505, allocations: 23.92 kB / 0.5609 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.151, allocations: 296.8 kB / 0.5612 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1512, allocations: 54.67 kB / 0.5613 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.1512, allocations: 16.86 kB / 0.5613 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1512, allocations: 3.984 kB / 0.5613 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1514, allocations: 75.33 kB / 0.5614 GB, free: 3.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1514, allocations: 0 / 0.5614 GB, free: 3.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005774/0.152, allocations: 173.7 kB / 0.5615 GB, free: 3.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.152, allocations: 55.39 kB / 0.5616 GB, free: 3.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1523, allocations: 214.1 kB / 0.5618 GB, free: 3.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1523, allocations: 25.7 kB / 0.5618 GB, free: 3.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.1524, allocations: 108.1 kB / 0.5619 GB, free: 3.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1524, allocations: 23.8 kB / 0.5619 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1525, allocations: 25.7 kB / 0.562 GB, free: 3.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1527, allocations: 326.8 kB / 0.5623 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.1527, allocations: 28.05 kB / 0.5623 GB, free: 2.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.1528, allocations: 29.72 kB / 0.5623 GB, free: 2.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1529, allocations: 65.64 kB / 0.5624 GB, free: 2.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1529, allocations: 4 kB / 0.5624 GB, free: 2.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002681/0.1532, allocations: 101.8 kB / 0.5625 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1532, allocations: 7.938 kB / 0.5625 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1532, allocations: 7.938 kB / 0.5625 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1532, allocations: 0 / 0.5625 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.1533, allocations: 12 kB / 0.5625 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1533, allocations: 0 / 0.5625 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.1534, allocations: 11.98 kB / 0.5625 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1534, allocations: 8.031 kB / 0.5625 GB, free: 2.473 MB / 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 (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.000155/0.1536, allocations: 121.8 kB / 0.5627 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1536, allocations: 19.89 kB / 0.5627 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.1536, allocations: 17.56 kB / 0.5627 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1536, allocations: 0 / 0.5627 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1537, allocations: 4 kB / 0.5627 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1537, allocations: 0 / 0.5627 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.1542, allocations: 407.2 kB / 0.5631 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1542, allocations: 0 / 0.5631 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.1543, allocations: 11.94 kB / 0.5631 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1543, allocations: 0 / 0.5631 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1543, allocations: 0 / 0.5631 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1543, allocations: 7.938 kB / 0.5631 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1543, allocations: 3.984 kB / 0.5631 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1546, allocations: 208.3 kB / 0.5633 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.1546, allocations: 85.06 kB / 0.5634 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1547, allocations: 0 / 0.5634 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1547, allocations: 7.938 kB / 0.5634 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1548, allocations: 11.98 kB / 0.5634 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1548, allocations: 0 / 0.5634 GB, free: 1.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.155, allocations: 164.8 kB / 0.5636 GB, free: 1.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.155, allocations: 0 / 0.5636 GB, free: 1.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1553, allocations: 27.92 kB / 0.5636 GB, free: 1.285 MB / 414.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.001729/0.157, allocations: 468.3 kB / 0.564 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1572, allocations: 51.92 kB / 0.5641 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1572, allocations: 64 / 0.5641 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.1573, allocations: 27.98 kB / 0.5641 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1576, allocations: 34.12 kB / 0.5642 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.1582, allocations: 280.2 kB / 0.5644 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1587, allocations: 0.7041 MB / 0.5651 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.1587, allocations: 19.5 kB / 0.5651 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1587, allocations: 0 / 0.5651 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Templates: time 0.004508/0.1632, allocations: 1.98 MB / 0.5671 GB, free: 13.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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.873030303046107]