Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.14 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003248/0.1462, allocations: 1.568 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007679/0.147, allocations: 411.2 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.1471, allocations: 3.938 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1475, allocations: 127.7 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.1478, allocations: 83.77 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1482, allocations: 91.45 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1484, allocations: 87.8 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1486, allocations: 20.17 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.1487, allocations: 43.83 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1488, allocations: 79.84 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1489, allocations: 4 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.149, allocations: 47.91 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.1491, allocations: 27.86 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.1492, allocations: 35.69 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1494, allocations: 115.6 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1495, allocations: 0 / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1495, allocations: 0 / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1495, allocations: 0 / 473.4 MB, free: 10.9 MB / 350.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.0007068/0.1502, allocations: 434.8 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1502, allocations: 8.031 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1503, allocations: 8.844 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1505, allocations: 215.8 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1506, allocations: 384 / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1506, allocations: 8.375 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1508, allocations: 53.62 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1508, allocations: 0 / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1508, allocations: 0 / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1508, allocations: 3.938 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.1509, allocations: 31.95 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1514, allocations: 308.6 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1515, allocations: 42.56 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.1516, allocations: 20.94 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1516, allocations: 0 / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1516, allocations: 34.56 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1516, allocations: 0 / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008651/0.1525, allocations: 232.9 kB / 474.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1526, allocations: 51.41 kB / 474.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1528, allocations: 274.2 kB / 475.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1528, allocations: 29.7 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.1529, allocations: 112 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.153, allocations: 31.64 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.153, allocations: 17.72 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1531, allocations: 326.8 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.1532, allocations: 23.98 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.1533, allocations: 27.97 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1534, allocations: 60.91 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1534, allocations: 4 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001847/0.1536, allocations: 105.4 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1536, allocations: 4 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1537, allocations: 0 / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1537, allocations: 0 / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.1538, allocations: 27.98 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1538, allocations: 3.938 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.1538, allocations: 4 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1538, allocations: 0 / 475.9 MB, free: 8.219 MB / 350.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 9.131e-05/0.1539, allocations: 137.8 kB / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.154, allocations: 19.8 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.1542, allocations: 111 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1542, allocations: 4 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1543, allocations: 3.938 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1543, allocations: 3.984 kB / 476.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1547, allocations: 411.7 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1548, allocations: 0 / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.1548, allocations: 19.92 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1548, allocations: 4 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1548, allocations: 4 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1549, allocations: 80 / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1549, allocations: 7.922 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1551, allocations: 212.1 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1552, allocations: 96.8 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1552, allocations: 4 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.1553, allocations: 0 / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.1553, allocations: 11.98 kB / 476.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.1553, allocations: 4.422 kB / 476.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1555, allocations: 203.2 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1555, allocations: 0 / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1558, allocations: 23.98 kB / 477.1 MB, free: 6.855 MB / 350.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.001045/0.1568, allocations: 454.3 kB / 477.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.157, allocations: 63.95 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.157, allocations: 0 / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.1571, allocations: 39.91 kB / 477.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1575, allocations: 22.41 kB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.158, allocations: 303.4 kB / 478 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1584, allocations: 0.7197 MB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1584, allocations: 20.95 kB / 478.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.1585, allocations: 11.44 kB / 478.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1585, allocations: 4 kB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of Templates: time 0.004062/0.1626, allocations: 1.344 MB / 480.1 MB, free: 4.02 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches