Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001033/0.001033, allocations: 192 kB / 18.56 MB, free: 4.434 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.369/1.369, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2004/0.2004, allocations: 44.19 MB / 336.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 69.7 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1364, allocations: 60.82 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002939/0.1394, allocations: 1.576 MB / 470.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.1401, allocations: 415.2 kB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.1402, allocations: 4 kB / 471.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1404, allocations: 103.7 kB / 471.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1406, allocations: 75.78 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1409, allocations: 123.5 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1411, allocations: 75.88 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1412, allocations: 16.17 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.1412, allocations: 47.77 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.1413, allocations: 63.88 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1414, allocations: 0 / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.1415, allocations: 43.98 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.1415, allocations: 27.86 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.1416, allocations: 31.73 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1418, allocations: 104 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1418, allocations: 3.938 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1418, allocations: 0 / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1418, allocations: 3.938 kB / 471.9 MB, free: 11.64 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.0004345/0.1422, allocations: 422.8 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1423, allocations: 16.02 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1423, allocations: 12.75 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1425, allocations: 200.1 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1425, allocations: 4.375 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1425, allocations: 384 / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1427, allocations: 61.61 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1427, allocations: 0 / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1427, allocations: 0 / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1427, allocations: 0 / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1428, allocations: 35.91 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1432, allocations: 308.7 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.1433, allocations: 46.55 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.1434, allocations: 16.95 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1434, allocations: 7.984 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1434, allocations: 34.5 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1434, allocations: 0 / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000818/0.1443, allocations: 237 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1443, allocations: 63.39 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1445, allocations: 239.4 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1445, allocations: 29.64 kB / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1446, allocations: 108.1 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1446, allocations: 27.64 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1447, allocations: 25.69 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1448, allocations: 330.8 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.1449, allocations: 27.98 kB / 474.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.145, allocations: 31.97 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1451, allocations: 68.83 kB / 474.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1451, allocations: 0 / 474.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001938/0.1453, allocations: 113.5 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1453, allocations: 4 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1454, allocations: 0 / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1454, allocations: 15.98 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.1455, allocations: 12 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1455, allocations: 3.938 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.1455, allocations: 7.984 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1455, allocations: 0 / 474.4 MB, free: 8.949 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.000106/0.1457, allocations: 133.8 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1457, allocations: 11.81 kB / 474.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.146, allocations: 142.9 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.146, allocations: 4 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.146, allocations: 3.938 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.146, allocations: 0 / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.1465, allocations: 419.6 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1465, allocations: 8.031 kB / 475.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.1465, allocations: 15.94 kB / 475.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1466, allocations: 3.984 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1466, allocations: 4 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1466, allocations: 0 / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1466, allocations: 3.938 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1468, allocations: 216.3 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1469, allocations: 92.86 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1469, allocations: 4 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.147, allocations: 7.984 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.147, allocations: 4 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.147, allocations: 7.938 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1472, allocations: 187.5 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1472, allocations: 0 / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1474, allocations: 27.98 kB / 475.7 MB, free: 7.57 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.0009944/0.1484, allocations: 452.3 kB / 476.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1487, allocations: 79.94 kB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1487, allocations: 0 / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.1488, allocations: 39.92 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1491, allocations: 27.58 kB / 476.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.1496, allocations: 294.9 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1499, allocations: 0.7157 MB / 477.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.1499, allocations: 28.94 kB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.15, allocations: 15.44 kB / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.15, allocations: 0 / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Templates: time 0.003719/0.1537, allocations: 1.371 MB / 478.7 MB, free: 4.695 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches