Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001449/0.00145, allocations: 194 kB / 18.12 MB, free: 5.363 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.498/1.498, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2285/0.2285, allocations: 44.17 MB / 336.1 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.86 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1418, allocations: 60.83 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003663/0.1455, allocations: 1.636 MB / 470.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.1464, allocations: 407.3 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.1465, allocations: 0 / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1468, allocations: 79.77 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.147, allocations: 51.88 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1473, allocations: 75.84 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1474, allocations: 67.83 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1475, allocations: 20.17 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.1476, allocations: 31.84 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1477, allocations: 55.81 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1477, allocations: 0 / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1478, allocations: 39.98 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.1479, allocations: 19.92 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.148, allocations: 31.75 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1482, allocations: 95.98 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1482, allocations: 4 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1482, allocations: 0 / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1482, allocations: 0 / 471.1 MB, free: 12.26 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.0005487/0.1487, allocations: 403 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1488, allocations: 12.03 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1488, allocations: 12.83 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1491, allocations: 200.1 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1491, allocations: 4.375 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1491, allocations: 8.375 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1493, allocations: 53.56 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1493, allocations: 3.906 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1493, allocations: 4 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1493, allocations: 0 / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1494, allocations: 27.97 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1498, allocations: 292.8 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1499, allocations: 42.5 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.15, allocations: 16.86 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.15, allocations: 96 / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1501, allocations: 38.55 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1501, allocations: 4 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008789/0.151, allocations: 213.1 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.151, allocations: 59.39 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1512, allocations: 214.1 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1513, allocations: 29.7 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.1513, allocations: 100 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1514, allocations: 27.64 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1514, allocations: 21.66 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1515, allocations: 326.8 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.769e-05/0.1516, allocations: 27.92 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.1517, allocations: 23.97 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1518, allocations: 69 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1518, allocations: 0 / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002068/0.1521, allocations: 105.5 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1521, allocations: 8 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1521, allocations: 0 / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1521, allocations: 0 / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1522, allocations: 19.92 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1522, allocations: 7.938 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.1523, allocations: 4 kB / 473.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1523, allocations: 8 kB / 473.4 MB, free: 9.699 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 0.0001092/0.1524, allocations: 122.4 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1525, allocations: 11.91 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.1527, allocations: 114.4 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1527, allocations: 432 / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1528, allocations: 7.938 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1528, allocations: 0 / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1533, allocations: 407.2 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1533, allocations: 0 / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.1534, allocations: 23.92 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1534, allocations: 3.984 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1534, allocations: 4.031 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1534, allocations: 0 / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1534, allocations: 8 kB / 474.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1537, allocations: 192.3 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.1538, allocations: 96.89 kB / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1538, allocations: 0 / 474.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.1539, allocations: 11.98 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1539, allocations: 4 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.1539, allocations: 4 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1541, allocations: 155.2 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.1541, allocations: 0 / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1543, allocations: 23.94 kB / 474.6 MB, free: 8.422 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.0011/0.1554, allocations: 461.5 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1557, allocations: 63.89 kB / 475.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1557, allocations: 4 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.1558, allocations: 36.05 kB / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1562, allocations: 27.16 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1567, allocations: 276.8 kB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.157, allocations: 0.7043 MB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.1571, allocations: 12.66 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.1571, allocations: 11.44 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1571, allocations: 0 / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Templates: time 0.004009/0.1612, allocations: 1.282 MB / 477.5 MB, free: 5.691 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches