Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001728/0.001728, allocations: 112.9 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.002055/0.002055, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.516/1.516, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.272/0.272, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12") [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.002276/0.002276, allocations: 83.86 kB / 0.4924 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1346, allocations: 65.98 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003336/0.1379, allocations: 1.67 MB / 0.5584 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1398, allocations: 1.21 MB / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.1399, allocations: 0 / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1401, allocations: 31.8 kB / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1404, allocations: 95.53 kB / 0.5597 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1408, allocations: 166.8 kB / 0.5599 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.141, allocations: 79.81 kB / 0.56 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.1411, allocations: 11.98 kB / 0.56 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1412, allocations: 35.86 kB / 0.56 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1414, allocations: 35.83 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1414, allocations: 8 kB / 0.5601 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.1416, allocations: 107.8 kB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.1416, allocations: 19.92 kB / 0.5602 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.1417, allocations: 35.78 kB / 0.5602 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1419, allocations: 139.5 kB / 0.5604 GB, free: 2.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.142, allocations: 4 kB / 0.5604 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.142, allocations: 0 / 0.5604 GB, free: 2.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.142, allocations: 0 / 0.5604 GB, free: 2.258 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.0005937/0.1426, allocations: 422.7 kB / 0.5608 GB, free: 1.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1426, allocations: 12.03 kB / 0.5608 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.1426, allocations: 4.891 kB / 0.5608 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1429, allocations: 196.2 kB / 0.561 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1429, allocations: 4.375 kB / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1429, allocations: 4.375 kB / 0.561 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1431, allocations: 71.95 kB / 0.561 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1431, allocations: 8.125 kB / 0.5611 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1431, allocations: 11.86 kB / 0.5611 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1432, allocations: 0 / 0.5611 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1433, allocations: 43.95 kB / 0.5611 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.1439, allocations: 304.8 kB / 0.5614 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.144, allocations: 50.55 kB / 0.5614 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.1441, allocations: 28.88 kB / 0.5615 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1441, allocations: 4.062 kB / 0.5615 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1442, allocations: 30.56 kB / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1442, allocations: 0 / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009053/0.1451, allocations: 233.3 kB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.1451, allocations: 81.11 kB / 0.5618 GB, free: 0.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1453, allocations: 147.3 kB / 0.5619 GB, free: 440 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1453, allocations: 29.7 kB / 0.562 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.1454, allocations: 100.1 kB / 0.5621 GB, free: 300 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1454, allocations: 23.8 kB / 0.5621 GB, free: 276 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1455, allocations: 21.7 kB / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1456, allocations: 322.8 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1458, allocations: 39.95 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1459, allocations: 49.69 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1461, allocations: 96.81 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1461, allocations: 0 / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003187/0.1465, allocations: 125.8 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1465, allocations: 4 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1465, allocations: 0 / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1465, allocations: 4 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1466, allocations: 27.97 kB / 0.5628 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1466, allocations: 4.062 kB / 0.5628 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.1467, allocations: 15.94 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1467, allocations: 3.984 kB / 0.5628 GB, free: 15.54 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 (7): * Single equations (assignments): 7 * 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.0001075/0.1468, allocations: 121.8 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1469, allocations: 7.953 kB / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.1472, allocations: 142.3 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1472, allocations: 0 / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1472, allocations: 0 / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1472, allocations: 0 / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.1479, allocations: 426.2 kB / 0.5634 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1479, allocations: 4 kB / 0.5634 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.148, allocations: 19.98 kB / 0.5635 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.148, allocations: 0 / 0.5635 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.148, allocations: 4 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.148, allocations: 3.938 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.148, allocations: 0 / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.1484, allocations: 223.4 kB / 0.5637 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1485, allocations: 81.06 kB / 0.5638 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1485, allocations: 3.984 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.1486, allocations: 11.94 kB / 0.5638 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.1486, allocations: 15.92 kB / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1486, allocations: 0 / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1487, allocations: 117.4 kB / 0.5639 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1487, allocations: 0 / 0.5639 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.149, allocations: 43.88 kB / 0.5639 GB, free: 14.23 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 (7): * Single equations (assignments): 7 * 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.00172/0.1508, allocations: 498.9 kB / 0.5644 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.1511, allocations: 87.92 kB / 0.5645 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1511, allocations: 0 / 0.5645 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1512, allocations: 47.91 kB / 0.5646 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1516, allocations: 19.98 kB / 0.5646 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.1522, allocations: 243.5 kB / 0.5648 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1525, allocations: 0.6963 MB / 0.5655 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.1526, allocations: 19.44 kB / 0.5655 GB, free: 12.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1526, allocations: 0 / 0.5655 GB, free: 12.75 MB / 430.1 MB Notification: Performance of Templates: time 0.004449/0.157, allocations: 2.195 MB / 0.5676 GB, free: 10.55 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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.869909700937569]