Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001585/0.001585, allocations: 116.8 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.00171/0.00171, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.459/1.459, allocations: 230.2 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.2317/0.2317, allocations: 46.88 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") [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.002306/0.002306, allocations: 81.61 kB / 0.4924 GB, free: 26.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1307, allocations: 65.98 MB / 0.5568 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003514/0.1342, allocations: 1.657 MB / 0.5584 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1354, allocations: 0.58 MB / 0.559 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.1354, allocations: 0 / 0.559 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.1361, allocations: 463.1 kB / 0.5594 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.1366, allocations: 291.3 kB / 0.5597 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.1371, allocations: 175.2 kB / 0.5599 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.1374, allocations: 175.7 kB / 0.5601 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1375, allocations: 19.92 kB / 0.5601 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1377, allocations: 103.8 kB / 0.5602 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.138, allocations: 251.4 kB / 0.5604 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.138, allocations: 4 kB / 0.5604 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1381, allocations: 35.98 kB / 0.5605 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1383, allocations: 87.69 kB / 0.5605 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.1384, allocations: 103 kB / 0.5606 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.1388, allocations: 266.6 kB / 0.5609 GB, free: 4.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1388, allocations: 0 / 0.5609 GB, free: 4.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1388, allocations: 3.938 kB / 0.5609 GB, free: 4.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1388, allocations: 0 / 0.5609 GB, free: 4.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008871/0.1397, allocations: 0.6568 MB / 0.5615 GB, free: 3.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1397, allocations: 8.031 kB / 0.5615 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.1398, allocations: 48.61 kB / 0.5616 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1402, allocations: 300.7 kB / 0.5619 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1402, allocations: 8.375 kB / 0.5619 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1402, allocations: 4.375 kB / 0.5619 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1404, allocations: 58.17 kB / 0.5619 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1404, allocations: 192 / 0.5619 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1404, allocations: 3.938 kB / 0.5619 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1404, allocations: 4 kB / 0.562 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1405, allocations: 27.97 kB / 0.562 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.1411, allocations: 404.6 kB / 0.5624 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.1414, allocations: 46.48 kB / 0.5624 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.1414, allocations: 16.86 kB / 0.5624 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1414, allocations: 96 / 0.5624 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1415, allocations: 38.55 kB / 0.5625 GB, free: 2.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1415, allocations: 0 / 0.5625 GB, free: 2.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006978/0.1422, allocations: 244.7 kB / 0.5627 GB, free: 2.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1422, allocations: 51.41 kB / 0.5627 GB, free: 2.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.1431, allocations: 0.866 MB / 0.5636 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1432, allocations: 25.7 kB / 0.5636 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.1434, allocations: 228.1 kB / 0.5638 GB, free: 1.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1434, allocations: 19.8 kB / 0.5639 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1435, allocations: 21.7 kB / 0.5639 GB, free: 1.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1437, allocations: 366.7 kB / 0.5642 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1437, allocations: 19.98 kB / 0.5642 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.1438, allocations: 28.03 kB / 0.5643 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.144, allocations: 60.7 kB / 0.5643 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.144, allocations: 0 / 0.5643 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002348/0.1442, allocations: 125.4 kB / 0.5644 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1442, allocations: 4 kB / 0.5644 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1442, allocations: 4 kB / 0.5645 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1442, allocations: 0 / 0.5645 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.1443, allocations: 8 kB / 0.5645 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1443, allocations: 0 / 0.5645 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.1444, allocations: 7.984 kB / 0.5645 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1444, allocations: 0 / 0.5645 GB, free: 0.5156 MB / 414.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.0002163/0.1446, allocations: 225.7 kB / 0.5647 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.1446, allocations: 39.72 kB / 0.5647 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.145, allocations: 149 kB / 0.5649 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.145, allocations: 3.938 kB / 0.5649 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.145, allocations: 0 / 0.5649 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.145, allocations: 0 / 0.5649 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.1456, allocations: 482.4 kB / 0.5653 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1456, allocations: 0 / 0.5653 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.1457, allocations: 12.3 kB / 0.5653 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1457, allocations: 0 / 0.5653 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1457, allocations: 8 kB / 0.5653 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1457, allocations: 0 / 0.5653 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1457, allocations: 3.938 kB / 0.5654 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.146, allocations: 223.2 kB / 0.5656 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.1461, allocations: 109.1 kB / 0.5657 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1461, allocations: 0 / 0.5657 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.1462, allocations: 4 kB / 0.5657 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1463, allocations: 7.922 kB / 0.5657 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1463, allocations: 15.92 kB / 0.5657 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007105/0.147, allocations: 0.655 MB / 0.5663 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.147, allocations: 0 / 0.5663 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1473, allocations: 24 kB / 0.5664 GB, free: 14.47 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.001517/0.1488, allocations: 408.5 kB / 0.5667 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.149, allocations: 51.97 kB / 0.5668 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.149, allocations: 0 / 0.5668 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.1491, allocations: 31.91 kB / 0.5668 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.1496, allocations: 22.31 kB / 0.5668 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1509, allocations: 0.8511 MB / 0.5677 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.1514, allocations: 0.8182 MB / 0.5685 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1514, allocations: 19.42 kB / 0.5685 GB, free: 12.37 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1514, allocations: 0 / 0.5685 GB, free: 12.37 MB / 430.1 MB Notification: Performance of Templates: time 0.007973/0.1594, allocations: 3.791 MB / 0.5722 GB, free: 8.574 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.8186014499515295]