Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.001606/0.001606, allocations: 116.7 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.001694/0.001694, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.571/1.571, allocations: 230.3 MB / 255.2 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.2408/0.2408, allocations: 46.93 MB / 358.2 MB, free: 10.46 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") [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.002295/0.002295, allocations: 84.36 kB / 0.4926 GB, free: 26.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 66 MB / 0.5571 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003393/0.1354, allocations: 1.74 MB / 0.5588 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.1379, allocations: 1.644 MB / 0.5604 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.1379, allocations: 0 / 0.5604 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1382, allocations: 35.77 kB / 0.5604 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1385, allocations: 107.5 kB / 0.5605 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1387, allocations: 75.73 kB / 0.5606 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1389, allocations: 111.6 kB / 0.5607 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.139, allocations: 12 kB / 0.5607 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1391, allocations: 43.78 kB / 0.5607 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1393, allocations: 47.77 kB / 0.5608 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1393, allocations: 4 kB / 0.5608 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.1395, allocations: 107.9 kB / 0.5609 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1395, allocations: 19.92 kB / 0.5609 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.1396, allocations: 35.73 kB / 0.5609 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1399, allocations: 179.3 kB / 0.5611 GB, free: 4.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1399, allocations: 0 / 0.5611 GB, free: 4.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1399, allocations: 0 / 0.5611 GB, free: 4.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1399, allocations: 0 / 0.5611 GB, free: 4.254 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.0006096/0.1405, allocations: 430.6 kB / 0.5615 GB, free: 3.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1406, allocations: 12.03 kB / 0.5615 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.1406, allocations: 16.84 kB / 0.5615 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1409, allocations: 211.1 kB / 0.5617 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1409, allocations: 4.375 kB / 0.5617 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.141, allocations: 8.125 kB / 0.5618 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1411, allocations: 71.33 kB / 0.5618 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1411, allocations: 0 / 0.5618 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1412, allocations: 3.938 kB / 0.5618 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1412, allocations: 4 kB / 0.5618 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.399e-05/0.1412, allocations: 15.98 kB / 0.5618 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1417, allocations: 300.8 kB / 0.5621 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1418, allocations: 50.69 kB / 0.5622 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.1419, allocations: 20.84 kB / 0.5622 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1419, allocations: 0 / 0.5622 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.1421, allocations: 63.39 kB / 0.5623 GB, free: 2.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1421, allocations: 8 kB / 0.5623 GB, free: 2.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005687/0.1426, allocations: 165.4 kB / 0.5624 GB, free: 2.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.1427, allocations: 85.11 kB / 0.5625 GB, free: 2.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1429, allocations: 158.5 kB / 0.5627 GB, free: 2.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1429, allocations: 29.64 kB / 0.5627 GB, free: 2.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.143, allocations: 100.1 kB / 0.5628 GB, free: 2.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.143, allocations: 27.75 kB / 0.5628 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1431, allocations: 29.7 kB / 0.5628 GB, free: 2.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1432, allocations: 326.8 kB / 0.5631 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.1433, allocations: 20 kB / 0.5632 GB, free: 1.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.1434, allocations: 38.56 kB / 0.5632 GB, free: 1.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1435, allocations: 69.69 kB / 0.5633 GB, free: 1.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1435, allocations: 0 / 0.5633 GB, free: 1.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.1437, allocations: 106 kB / 0.5634 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1437, allocations: 8 kB / 0.5634 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1437, allocations: 0 / 0.5634 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1437, allocations: 0 / 0.5634 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.1438, allocations: 19.94 kB / 0.5634 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1438, allocations: 0 / 0.5634 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1439, allocations: 15.92 kB / 0.5634 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1439, allocations: 4 kB / 0.5634 GB, free: 1.629 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.0001123/0.144, allocations: 123.1 kB / 0.5635 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.144, allocations: 11.95 kB / 0.5635 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.1441, allocations: 16.7 kB / 0.5636 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1441, allocations: 0 / 0.5636 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1441, allocations: 0 / 0.5636 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1441, allocations: 7.875 kB / 0.5636 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.1446, allocations: 399.3 kB / 0.564 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1446, allocations: 4.188 kB / 0.564 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.1446, allocations: 4 kB / 0.564 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1446, allocations: 11.97 kB / 0.564 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1446, allocations: 3.938 kB / 0.564 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1446, allocations: 3.984 kB / 0.564 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1446, allocations: 4 kB / 0.564 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1449, allocations: 200.3 kB / 0.5642 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.145, allocations: 81.06 kB / 0.5642 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.145, allocations: 11.94 kB / 0.5643 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.1451, allocations: 7.984 kB / 0.5643 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1451, allocations: 4 kB / 0.5643 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1451, allocations: 4 kB / 0.5643 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1452, allocations: 127.9 kB / 0.5644 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1452, allocations: 0 / 0.5644 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1455, allocations: 47.86 kB / 0.5644 GB, free: 484 kB / 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.001916/0.1475, allocations: 0.5482 MB / 0.565 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1476, allocations: 55.95 kB / 0.565 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1477, allocations: 0 / 0.565 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.1477, allocations: 27.92 kB / 0.5651 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1481, allocations: 26.17 kB / 0.5651 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1485, allocations: 232.7 kB / 0.5653 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1489, allocations: 0.6963 MB / 0.566 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.149, allocations: 23.44 kB / 0.566 GB, free: 14.99 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.149, allocations: 0 / 0.566 GB, free: 14.99 MB / 430.1 MB Notification: Performance of Templates: time 0.008007/0.157, allocations: 2.42 MB / 0.5684 GB, free: 12.58 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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.903989284008276]