Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001323/0.001323, allocations: 114 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.001444/0.001444, allocations: 208.9 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.499/1.499, allocations: 230.2 MB / 255.2 MB, free: 15.38 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.2498/0.2498, allocations: 46.88 MB / 358.1 MB, free: 10.48 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") [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.002277/0.002277, allocations: 83.86 kB / 0.4924 GB, free: 26.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1313, allocations: 65.98 MB / 0.5568 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003432/0.1347, allocations: 1.671 MB / 0.5585 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1358, allocations: 0.5683 MB / 0.559 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.1359, allocations: 4 kB / 0.559 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.1365, allocations: 451.1 kB / 0.5595 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.137, allocations: 291.3 kB / 0.5597 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1374, allocations: 131 kB / 0.5599 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1377, allocations: 175.6 kB / 0.56 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1378, allocations: 19.91 kB / 0.56 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.138, allocations: 115.7 kB / 0.5602 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1383, allocations: 251.5 kB / 0.5604 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1383, allocations: 8 kB / 0.5604 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1384, allocations: 47.98 kB / 0.5605 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1385, allocations: 79.69 kB / 0.5605 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.1386, allocations: 107 kB / 0.5606 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.139, allocations: 278.5 kB / 0.5609 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.139, allocations: 4 kB / 0.5609 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.139, allocations: 0 / 0.5609 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.139, allocations: 0 / 0.5609 GB, free: 4.379 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008395/0.1399, allocations: 0.6567 MB / 0.5615 GB, free: 3.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1399, allocations: 12.02 kB / 0.5616 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.14, allocations: 48.66 kB / 0.5616 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1403, allocations: 300.6 kB / 0.5619 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1403, allocations: 384 / 0.5619 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1404, allocations: 4.375 kB / 0.5619 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1405, allocations: 66.17 kB / 0.562 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1406, allocations: 192 / 0.562 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1406, allocations: 3.938 kB / 0.562 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1406, allocations: 3.938 kB / 0.562 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1407, allocations: 23.98 kB / 0.562 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.1413, allocations: 408.6 kB / 0.5624 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1414, allocations: 42.56 kB / 0.5624 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1414, allocations: 12.94 kB / 0.5624 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1415, allocations: 4 kB / 0.5624 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1415, allocations: 42.5 kB / 0.5625 GB, free: 2.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1415, allocations: 0 / 0.5625 GB, free: 2.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001042/0.1425, allocations: 316.6 kB / 0.5628 GB, free: 2.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1426, allocations: 55.34 kB / 0.5628 GB, free: 2.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.1435, allocations: 0.8692 MB / 0.5637 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1435, allocations: 25.7 kB / 0.5637 GB, free: 1.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1437, allocations: 228.1 kB / 0.5639 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1438, allocations: 19.75 kB / 0.5639 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.1438, allocations: 29.7 kB / 0.564 GB, free: 1.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.144, allocations: 358.7 kB / 0.5643 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.1441, allocations: 27.98 kB / 0.5643 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.1442, allocations: 31.95 kB / 0.5644 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1444, allocations: 56.84 kB / 0.5644 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1444, allocations: 0 / 0.5644 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003004/0.1447, allocations: 141.3 kB / 0.5646 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1447, allocations: 4 kB / 0.5646 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1447, allocations: 0 / 0.5646 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1447, allocations: 0 / 0.5646 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1448, allocations: 27.98 kB / 0.5646 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1448, allocations: 0 / 0.5646 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.1449, allocations: 11.92 kB / 0.5646 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1449, allocations: 0 / 0.5646 GB, free: 368 kB / 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 (8): * Single equations (assignments): 8 * 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.0002311/0.1451, allocations: 213.8 kB / 0.5648 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.1452, allocations: 43.67 kB / 0.5648 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.1456, allocations: 166 kB / 0.565 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1456, allocations: 0 / 0.565 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1456, allocations: 0 / 0.565 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1456, allocations: 11.92 kB / 0.565 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.1463, allocations: 499.6 kB / 0.5655 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1463, allocations: 7.812 kB / 0.5655 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.1464, allocations: 19.98 kB / 0.5655 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1464, allocations: 7.969 kB / 0.5655 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1464, allocations: 8 kB / 0.5655 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1464, allocations: 0 / 0.5655 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1464, allocations: 0 / 0.5655 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.1468, allocations: 248 kB / 0.5658 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.1468, allocations: 108.8 kB / 0.5659 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1469, allocations: 15.92 kB / 0.5659 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.147, allocations: 8 kB / 0.5659 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.147, allocations: 4 kB / 0.5659 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.147, allocations: 7.984 kB / 0.5659 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007099/0.1477, allocations: 0.6511 MB / 0.5665 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 7.938 kB / 0.5665 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.148, allocations: 23.94 kB / 0.5666 GB, free: 14.22 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001739/0.1497, allocations: 466.7 kB / 0.567 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.15, allocations: 59.91 kB / 0.5671 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.15, allocations: 0 / 0.5671 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.1501, allocations: 39.92 kB / 0.5671 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.1505, allocations: 30.23 kB / 0.5671 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1519, allocations: 0.8597 MB / 0.568 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.1524, allocations: 0.8221 MB / 0.5688 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.1525, allocations: 19.44 kB / 0.5688 GB, free: 12.05 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1525, allocations: 4 kB / 0.5688 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Templates: time 0.008336/0.1608, allocations: 3.957 MB / 0.5727 GB, free: 8.086 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.84586792695336]