Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.001723/0.001723, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.002253/0.002253, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.449/1.449, allocations: 230.2 MB / 255.2 MB, free: 15.42 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.23/0.23, allocations: 46.89 MB / 358.1 MB, free: 10.55 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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") [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.002275/0.002275, allocations: 87.77 kB / 0.4924 GB, free: 26.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 65.98 MB / 0.5569 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003386/0.1218, allocations: 1.731 MB / 0.5586 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1237, allocations: 1.038 MB / 0.5596 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.1237, allocations: 4 kB / 0.5596 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1241, allocations: 43.75 kB / 0.5596 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1244, allocations: 107.5 kB / 0.5597 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1247, allocations: 83.67 kB / 0.5598 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1249, allocations: 99.73 kB / 0.5599 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.125, allocations: 15.94 kB / 0.5599 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.1251, allocations: 43.78 kB / 0.56 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.1252, allocations: 35.78 kB / 0.56 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1252, allocations: 4 kB / 0.56 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1253, allocations: 43.98 kB / 0.56 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.1254, allocations: 19.92 kB / 0.5601 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1254, allocations: 47.61 kB / 0.5601 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1257, allocations: 131.4 kB / 0.5602 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1257, allocations: 4 kB / 0.5602 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1257, allocations: 0 / 0.5602 GB, free: 5.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1257, allocations: 0 / 0.5602 GB, free: 5.109 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.0006437/0.1263, allocations: 438.6 kB / 0.5607 GB, free: 4.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1264, allocations: 8.031 kB / 0.5607 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.1264, allocations: 8.891 kB / 0.5607 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1267, allocations: 216.9 kB / 0.5609 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1267, allocations: 4.312 kB / 0.5609 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1268, allocations: 12.36 kB / 0.5609 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1269, allocations: 57.98 kB / 0.561 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1269, allocations: 0 / 0.561 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.127, allocations: 4 kB / 0.561 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.127, allocations: 0 / 0.561 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.201e-05/0.127, allocations: 19.98 kB / 0.561 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1275, allocations: 296.8 kB / 0.5613 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1276, allocations: 66.48 kB / 0.5613 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1277, allocations: 16.92 kB / 0.5613 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1277, allocations: 4 kB / 0.5613 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1279, allocations: 67.38 kB / 0.5614 GB, free: 3.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1279, allocations: 0 / 0.5614 GB, free: 3.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000575/0.1285, allocations: 177.4 kB / 0.5616 GB, free: 3.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1286, allocations: 51.41 kB / 0.5616 GB, free: 3.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1288, allocations: 238.1 kB / 0.5619 GB, free: 3.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1288, allocations: 29.7 kB / 0.5619 GB, free: 3.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.1289, allocations: 112.1 kB / 0.562 GB, free: 3.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.129, allocations: 23.8 kB / 0.562 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.129, allocations: 25.7 kB / 0.562 GB, free: 3.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1292, allocations: 330.8 kB / 0.5624 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.1292, allocations: 23.94 kB / 0.5624 GB, free: 2.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.1293, allocations: 37.64 kB / 0.5624 GB, free: 2.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1294, allocations: 65.75 kB / 0.5625 GB, free: 2.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1294, allocations: 4 kB / 0.5625 GB, free: 2.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1296, allocations: 101.5 kB / 0.5626 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1296, allocations: 8 kB / 0.5626 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1296, allocations: 4.031 kB / 0.5626 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1297, allocations: 0 / 0.5626 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.1297, allocations: 16.38 kB / 0.5626 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1298, allocations: 4 kB / 0.5626 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.1298, allocations: 7.984 kB / 0.5626 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1298, allocations: 7.938 kB / 0.5626 GB, free: 2.434 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.0001219/0.1299, allocations: 130.5 kB / 0.5627 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.13, allocations: 19.89 kB / 0.5628 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.13, allocations: 13.41 kB / 0.5628 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.13, allocations: 4 kB / 0.5628 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.13, allocations: 4 kB / 0.5628 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.13, allocations: 0 / 0.5628 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.1305, allocations: 399.2 kB / 0.5632 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1305, allocations: 0 / 0.5632 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.1306, allocations: 12 kB / 0.5632 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1306, allocations: 0 / 0.5632 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1306, allocations: 11.92 kB / 0.5632 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1306, allocations: 3.969 kB / 0.5632 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1306, allocations: 4 kB / 0.5632 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1308, allocations: 208.2 kB / 0.5634 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1309, allocations: 85.02 kB / 0.5635 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1309, allocations: 4 kB / 0.5635 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.131, allocations: 11.91 kB / 0.5635 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.131, allocations: 8 kB / 0.5635 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.131, allocations: 8 kB / 0.5635 GB, free: 1.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1312, allocations: 172.4 kB / 0.5637 GB, free: 1.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1312, allocations: 4 kB / 0.5637 GB, free: 1.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1315, allocations: 23.94 kB / 0.5637 GB, free: 1.219 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.0017/0.1332, allocations: 463.8 kB / 0.5641 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1334, allocations: 59.84 kB / 0.5642 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1334, allocations: 0 / 0.5642 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.1335, allocations: 32.06 kB / 0.5642 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1339, allocations: 30.14 kB / 0.5643 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.1345, allocations: 304.9 kB / 0.5645 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.1348, allocations: 0.7158 MB / 0.5652 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1349, allocations: 15.44 kB / 0.5653 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1349, allocations: 0 / 0.5653 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Templates: time 0.004491/0.1394, allocations: 2.031 MB / 0.5672 GB, free: 13.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.965441532200202]