Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2658/0.2658, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 67.91 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 65.98 MB / 0.5565 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003494/0.1335, allocations: 1.669 MB / 0.5582 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1346, allocations: 0.5416 MB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.1347, allocations: 8 kB / 0.5587 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.135, allocations: 91.73 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.1354, allocations: 115.6 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1357, allocations: 95.69 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.136, allocations: 103.7 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1361, allocations: 16 kB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1362, allocations: 43.83 kB / 0.5591 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1363, allocations: 71.72 kB / 0.5592 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1363, allocations: 8 kB / 0.5592 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1365, allocations: 47.92 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.1365, allocations: 31.91 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.1366, allocations: 35.69 kB / 0.5593 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1368, allocations: 127.4 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1368, allocations: 0 / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1368, allocations: 0 / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1368, allocations: 4 kB / 0.5595 GB, free: 2.301 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006235/0.1375, allocations: 438.6 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1375, allocations: 8.031 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.1376, allocations: 12.84 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1378, allocations: 216 kB / 0.5601 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1378, allocations: 4.375 kB / 0.5601 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1378, allocations: 8.359 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.138, allocations: 69.8 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.138, allocations: 11.95 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1381, allocations: 0 / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1381, allocations: 0 / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1382, allocations: 43.91 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1387, allocations: 332.7 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.1388, allocations: 54.56 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.224e-05/0.1389, allocations: 28.78 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1389, allocations: 8.141 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1389, allocations: 30.56 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.1389, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001139/0.1401, allocations: 321.5 kB / 0.561 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1401, allocations: 51.41 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.1404, allocations: 239.5 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1404, allocations: 25.7 kB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.1405, allocations: 116 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1405, allocations: 47.62 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1406, allocations: 29.7 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1407, allocations: 330.8 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1408, allocations: 35.97 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1409, allocations: 43.42 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1411, allocations: 84.83 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1412, allocations: 0 / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002826/0.1414, allocations: 141.6 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1414, allocations: 4 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1415, allocations: 0 / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1415, allocations: 3.938 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1416, allocations: 31.91 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1416, allocations: 4.234 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1417, allocations: 4 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1417, allocations: 7.984 kB / 0.5621 GB, free: 15.34 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 (13): * Single equations (assignments): 13 * 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.0001156/0.1418, allocations: 140.1 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1418, allocations: 15.84 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.1422, allocations: 159.1 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1422, allocations: 7.938 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1422, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1422, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.1429, allocations: 483.1 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1429, allocations: 0 / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.143, allocations: 27.98 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.143, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.143, allocations: 8 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.143, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.143, allocations: 3.938 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.1433, allocations: 260.1 kB / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1434, allocations: 89.02 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1434, allocations: 0 / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.1435, allocations: 11.98 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1435, allocations: 11.92 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1435, allocations: 4 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1437, allocations: 181.2 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1437, allocations: 4 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.144, allocations: 23.98 kB / 0.5635 GB, free: 13.84 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 (13): * Single equations (assignments): 13 * 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.001682/0.1456, allocations: 462.6 kB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.1459, allocations: 87.95 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1459, allocations: 0 / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1461, allocations: 55.78 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1464, allocations: 28.98 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.1471, allocations: 345.4 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1474, allocations: 0.7158 MB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.1475, allocations: 15.44 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1475, allocations: 4 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Templates: time 0.004141/0.1516, allocations: 2.076 MB / 0.5672 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 8.103079256979981]