Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.001684/0.001684, 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.002288/0.002288, 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.506/1.506, allocations: 230.2 MB / 255.1 MB, free: 15.4 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.2289/0.2289, allocations: 46.89 MB / 358.1 MB, free: 10.53 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46") [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.002327/0.002327, allocations: 84.3 kB / 0.4924 GB, free: 26.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1452, allocations: 65.98 MB / 0.5569 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003407/0.1486, allocations: 1.74 MB / 0.5586 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1505, allocations: 1.03 MB / 0.5596 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.1506, allocations: 4 kB / 0.5596 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1509, allocations: 51.75 kB / 0.5596 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.1512, allocations: 107.5 kB / 0.5597 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1515, allocations: 79.67 kB / 0.5598 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1516, allocations: 99.73 kB / 0.5599 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1517, allocations: 12 kB / 0.5599 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1518, allocations: 51.78 kB / 0.56 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.1519, allocations: 31.78 kB / 0.56 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.152, allocations: 4 kB / 0.56 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1521, allocations: 47.92 kB / 0.5601 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1521, allocations: 27.91 kB / 0.5601 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.1522, allocations: 47.61 kB / 0.5601 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1525, allocations: 139.4 kB / 0.5603 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1525, allocations: 0 / 0.5603 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1525, allocations: 0 / 0.5603 GB, free: 5.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.1525, allocations: 0 / 0.5603 GB, free: 5.074 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.000703/0.1532, allocations: 446.5 kB / 0.5607 GB, free: 4.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1532, allocations: 16.02 kB / 0.5607 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1533, allocations: 16.78 kB / 0.5607 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1536, allocations: 229 kB / 0.5609 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1536, allocations: 4.375 kB / 0.5609 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1536, allocations: 4.375 kB / 0.5609 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1538, allocations: 57.98 kB / 0.561 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1538, allocations: 0 / 0.561 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1538, allocations: 0 / 0.561 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1538, allocations: 4 kB / 0.561 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.1539, allocations: 23.98 kB / 0.561 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1543, allocations: 304.8 kB / 0.5613 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1545, allocations: 46.69 kB / 0.5614 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1546, allocations: 20.84 kB / 0.5614 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1546, allocations: 4 kB / 0.5614 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1547, allocations: 75.27 kB / 0.5615 GB, free: 3.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1547, allocations: 0 / 0.5615 GB, free: 3.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.1553, allocations: 185.3 kB / 0.5616 GB, free: 3.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1554, allocations: 55.34 kB / 0.5617 GB, free: 3.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1556, allocations: 270.8 kB / 0.5619 GB, free: 3.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1557, allocations: 37.7 kB / 0.562 GB, free: 3.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1557, allocations: 108.1 kB / 0.5621 GB, free: 2.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1558, allocations: 23.84 kB / 0.5621 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1558, allocations: 21.72 kB / 0.5621 GB, free: 2.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.156, allocations: 334.8 kB / 0.5624 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.156, allocations: 20 kB / 0.5625 GB, free: 2.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.1561, allocations: 37.7 kB / 0.5625 GB, free: 2.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1562, allocations: 61.64 kB / 0.5626 GB, free: 2.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1562, allocations: 0 / 0.5626 GB, free: 2.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1564, allocations: 105.5 kB / 0.5627 GB, free: 2.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1564, allocations: 7.984 kB / 0.5627 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1564, allocations: 0 / 0.5627 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1565, allocations: 4 kB / 0.5627 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.1565, allocations: 15.94 kB / 0.5627 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1566, allocations: 0 / 0.5627 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.1566, allocations: 12.02 kB / 0.5627 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1566, allocations: 4.312 kB / 0.5627 GB, free: 2.328 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.0001306/0.1567, allocations: 137.8 kB / 0.5628 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1568, allocations: 15.91 kB / 0.5628 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1568, allocations: 21.41 kB / 0.5629 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1568, allocations: 0 / 0.5629 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1568, allocations: 4 kB / 0.5629 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1568, allocations: 7.984 kB / 0.5629 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.1573, allocations: 411.2 kB / 0.5633 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1573, allocations: 0 / 0.5633 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.1574, allocations: 12 kB / 0.5633 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1574, allocations: 0 / 0.5633 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1574, allocations: 4 kB / 0.5633 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1574, allocations: 3.938 kB / 0.5633 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1574, allocations: 3.938 kB / 0.5633 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1576, allocations: 204.3 kB / 0.5635 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1577, allocations: 101.2 kB / 0.5636 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1577, allocations: 4 kB / 0.5636 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1578, allocations: 7.875 kB / 0.5636 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1579, allocations: 7.984 kB / 0.5636 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1579, allocations: 8 kB / 0.5636 GB, free: 1.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.1581, allocations: 200.6 kB / 0.5638 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1581, allocations: 0 / 0.5638 GB, free: 1.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1583, allocations: 27.98 kB / 0.5638 GB, free: 1.062 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.001691/0.16, allocations: 468.4 kB / 0.5643 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1602, allocations: 59.97 kB / 0.5643 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1602, allocations: 0 / 0.5643 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.1603, allocations: 23.94 kB / 0.5644 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1607, allocations: 32.81 kB / 0.5644 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.1612, allocations: 325.3 kB / 0.5647 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1616, allocations: 0.7197 MB / 0.5654 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.1617, allocations: 23.42 kB / 0.5654 GB, free: 15.55 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1617, allocations: 0 / 0.5654 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Templates: time 0.004352/0.166, allocations: 2.104 MB / 0.5675 GB, free: 13.45 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.8511942070908844]