Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001846/0.001846, allocations: 123.4 kB / 19.18 MB, free: 3.852 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.002251/0.002251, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.43/1.43, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.227/0.227, allocations: 46.92 MB / 358.2 MB, free: 10.42 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.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35") [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.002774/0.002774, allocations: 83.86 kB / 0.4925 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1307, allocations: 65.99 MB / 0.557 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003253/0.134, allocations: 1.61 MB / 0.5586 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.136, allocations: 1.175 MB / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.136, allocations: 0 / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1362, allocations: 31.78 kB / 0.5597 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.1366, allocations: 87.61 kB / 0.5598 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1369, allocations: 110.8 kB / 0.5599 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.137, allocations: 67.78 kB / 0.56 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.1371, allocations: 15.98 kB / 0.56 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.1372, allocations: 27.84 kB / 0.56 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1373, allocations: 31.86 kB / 0.5601 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1373, allocations: 4 kB / 0.5601 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1375, allocations: 95.92 kB / 0.5602 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1375, allocations: 11.94 kB / 0.5602 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.1376, allocations: 39.72 kB / 0.5602 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1378, allocations: 135.5 kB / 0.5603 GB, free: 2.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1378, allocations: 3.984 kB / 0.5603 GB, free: 2.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1378, allocations: 0 / 0.5603 GB, free: 2.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1378, allocations: 0 / 0.5603 GB, free: 2.094 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005138/0.1383, allocations: 398.8 kB / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1384, allocations: 12.03 kB / 0.5607 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.1384, allocations: 8.891 kB / 0.5607 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1386, allocations: 208.1 kB / 0.5609 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1386, allocations: 4.375 kB / 0.5609 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1387, allocations: 4.375 kB / 0.5609 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1388, allocations: 63.95 kB / 0.561 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1388, allocations: 192 / 0.561 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1388, allocations: 3.938 kB / 0.561 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1388, allocations: 0 / 0.561 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.1389, allocations: 23.98 kB / 0.561 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1394, allocations: 288.9 kB / 0.5613 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1396, allocations: 46.48 kB / 0.5614 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1396, allocations: 12.86 kB / 0.5614 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1396, allocations: 0 / 0.5614 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1397, allocations: 38.56 kB / 0.5614 GB, free: 0.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1397, allocations: 0 / 0.5614 GB, free: 0.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006296/0.1403, allocations: 145.8 kB / 0.5615 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.1404, allocations: 85.11 kB / 0.5616 GB, free: 0.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1405, allocations: 151.8 kB / 0.5618 GB, free: 436 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1405, allocations: 25.7 kB / 0.5618 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.1406, allocations: 96.14 kB / 0.5619 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1406, allocations: 19.78 kB / 0.5619 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1407, allocations: 17.72 kB / 0.5619 GB, free: 260 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1408, allocations: 326.8 kB / 0.5622 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.1409, allocations: 23.92 kB / 0.5623 GB, free: 15.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.141, allocations: 41.7 kB / 0.5623 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1412, allocations: 52.86 kB / 0.5623 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1412, allocations: 0 / 0.5623 GB, free: 15.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.1414, allocations: 89.61 kB / 0.5624 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1414, allocations: 4 kB / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1414, allocations: 0 / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1414, allocations: 0 / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.1415, allocations: 23.91 kB / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1415, allocations: 0 / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.1416, allocations: 8 kB / 0.5625 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1416, allocations: 3.984 kB / 0.5625 GB, free: 15.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001109/0.1417, allocations: 117.8 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1417, allocations: 7.953 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.142, allocations: 101.9 kB / 0.5627 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.142, allocations: 0 / 0.5627 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.142, allocations: 0 / 0.5627 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.142, allocations: 4 kB / 0.5627 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1425, allocations: 366.4 kB / 0.563 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1425, allocations: 0 / 0.563 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.1425, allocations: 16.25 kB / 0.5631 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1425, allocations: 0 / 0.5631 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1425, allocations: 7.984 kB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1425, allocations: 0 / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1425, allocations: 3.938 kB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1428, allocations: 187.4 kB / 0.5632 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1428, allocations: 89.06 kB / 0.5633 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1429, allocations: 0 / 0.5633 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1429, allocations: 4 kB / 0.5633 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.143, allocations: 7.922 kB / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.143, allocations: 4 kB / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1431, allocations: 111.3 kB / 0.5635 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1431, allocations: 4 kB / 0.5635 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1434, allocations: 39.86 kB / 0.5635 GB, free: 14.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001713/0.1451, allocations: 487.6 kB / 0.564 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1453, allocations: 47.91 kB / 0.564 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1453, allocations: 4 kB / 0.564 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.1454, allocations: 27.97 kB / 0.564 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1457, allocations: 15.94 kB / 0.564 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.1462, allocations: 203.2 kB / 0.5642 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1465, allocations: 0.6885 MB / 0.5649 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.1466, allocations: 19.42 kB / 0.5649 GB, free: 13.14 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1466, allocations: 3.938 kB / 0.5649 GB, free: 13.13 MB / 430.1 MB Notification: Performance of Templates: time 0.003955/0.1505, allocations: 1.967 MB / 0.5669 GB, free: 11.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.618344759001047]