Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 107.1 kB / 17.33 MB, free: 6.023 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.001055/0.001055, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.334/1.334, allocations: 222.9 MB / 241.9 MB, free: 13.74 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.2195/0.2195, allocations: 44.18 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.8 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002936/0.1341, allocations: 1.614 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.1348, allocations: 399.3 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.1349, allocations: 0 / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1351, allocations: 15.92 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1353, allocations: 39.91 kB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1356, allocations: 71.86 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1357, allocations: 67.7 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.1358, allocations: 8 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.1358, allocations: 19.92 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.1359, allocations: 23.86 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1359, allocations: 0 / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.136, allocations: 35.97 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.136, allocations: 11.94 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.1361, allocations: 15.88 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.1362, allocations: 71.8 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1362, allocations: 0 / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1363, allocations: 3.938 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1363, allocations: 0 / 471.1 MB, free: 12.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003947/0.1367, allocations: 371.6 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1367, allocations: 8.031 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.1367, allocations: 12.84 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1369, allocations: 194.9 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.1369, allocations: 384 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.137, allocations: 4.375 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1371, allocations: 49.81 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1371, allocations: 11.84 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1371, allocations: 0 / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1371, allocations: 0 / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.1372, allocations: 23.92 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.1376, allocations: 272.9 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1378, allocations: 42.56 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.1378, allocations: 12.94 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1379, allocations: 3.938 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1379, allocations: 42.56 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1379, allocations: 0 / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005366/0.1385, allocations: 133.3 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1385, allocations: 51.41 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1386, allocations: 146 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1387, allocations: 25.7 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.1387, allocations: 100.1 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1387, allocations: 7.812 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1388, allocations: 17.72 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1389, allocations: 326.8 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.139, allocations: 15.98 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.139, allocations: 19.98 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1392, allocations: 48.83 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1392, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.1393, allocations: 81.7 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1394, allocations: 11.94 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1394, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1394, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.1395, allocations: 15.98 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1395, allocations: 0 / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.1395, allocations: 4 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1395, allocations: 8 kB / 473.1 MB, free: 10.08 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 (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 9.165e-05/0.1396, allocations: 126.2 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1397, allocations: 3.906 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.1399, allocations: 93.89 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1399, allocations: 288 / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1399, allocations: 0 / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1399, allocations: 11.92 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.1403, allocations: 346.5 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1403, allocations: 0 / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.1404, allocations: 15.98 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1404, allocations: 0 / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1404, allocations: 3.938 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.1404, allocations: 3.938 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1404, allocations: 0 / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1406, allocations: 179.4 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.1407, allocations: 85.02 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1407, allocations: 256 / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.1408, allocations: 11.94 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.1408, allocations: 7.984 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1408, allocations: 4 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.1409, allocations: 114.5 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1409, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1412, allocations: 11.98 kB / 474.1 MB, free: 8.98 MB / 350.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.0008853/0.1421, allocations: 395.8 kB / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1423, allocations: 55.83 kB / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1423, allocations: 0 / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.1424, allocations: 27.98 kB / 474.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1427, allocations: 12 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.1431, allocations: 189.6 kB / 474.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1434, allocations: 0.6924 MB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.1435, allocations: 8 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.1435, allocations: 11.44 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1435, allocations: 0 / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of Templates: time 0.003603/0.1471, allocations: 1.071 MB / 476.6 MB, free: 6.641 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches