Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.0008668/0.0008668, allocations: 183.4 kB / 17.87 MB, free: 5.609 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.534/1.534, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2348/0.2348, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002046/0.1403, allocations: 1.305 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007355/0.1411, allocations: 383.5 kB / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.1411, allocations: 4 kB / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1414, allocations: 79.81 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1416, allocations: 63.83 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1419, allocations: 102.6 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1421, allocations: 59.88 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1423, allocations: 19.97 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.1423, allocations: 27.92 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1425, allocations: 51.81 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.1425, allocations: 0 / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.1426, allocations: 31.94 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1427, allocations: 19.92 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.1427, allocations: 45.58 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1429, allocations: 88.12 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1429, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1429, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.143, allocations: 3.938 kB / 473.7 MB, free: 11.44 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000648/0.1436, allocations: 414.8 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1437, allocations: 12.03 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1437, allocations: 19.81 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.144, allocations: 198.9 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.144, allocations: 4 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1441, allocations: 8 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1443, allocations: 77.56 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1443, allocations: 3.984 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1443, allocations: 0 / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1443, allocations: 4 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1445, allocations: 43.97 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.1451, allocations: 348.6 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1452, allocations: 66.55 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1453, allocations: 4.156 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.1453, allocations: 38.55 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1454, allocations: 0 / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001231/0.1466, allocations: 353 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1466, allocations: 55.41 kB / 475.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.1469, allocations: 239.1 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.147, allocations: 25.7 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.1471, allocations: 112.1 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.1471, allocations: 47.34 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.1471, allocations: 3.938 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1473, allocations: 330.8 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1474, allocations: 47.97 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.1476, allocations: 47.97 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1477, allocations: 58.97 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1477, allocations: 0 / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002887/0.148, allocations: 169.4 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.148, allocations: 4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.148, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1481, allocations: 0 / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1482, allocations: 27.98 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1482, allocations: 4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1483, allocations: 11.95 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1483, allocations: 7.984 kB / 476.5 MB, free: 8.496 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.1484, allocations: 138.4 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1485, allocations: 11.81 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.1488, allocations: 195.7 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1489, allocations: 4 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1489, allocations: 0 / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1489, allocations: 3.938 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.1495, allocations: 0.503 MB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1496, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.1497, allocations: 31.92 kB / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1497, allocations: 0 / 477.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1497, allocations: 3.953 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1497, allocations: 4 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1497, allocations: 4.031 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.15, allocations: 269.9 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.1501, allocations: 101 kB / 477.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.1501, allocations: 0 / 477.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1502, allocations: 12 kB / 477.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1503, allocations: 11.92 kB / 477.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1503, allocations: 7.984 kB / 477.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1504, allocations: 167.2 kB / 477.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1504, allocations: 0 / 477.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1507, allocations: 27.98 kB / 477.9 MB, free: 6.906 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.1519, allocations: 453 kB / 478.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.1522, allocations: 127.9 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1522, allocations: 0 / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1524, allocations: 59.91 kB / 478.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1527, allocations: 19.98 kB / 478.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.1533, allocations: 350.8 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.1537, allocations: 0.7316 MB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.828e-05/0.1538, allocations: 28.53 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1538, allocations: 19.44 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1538, allocations: 3.938 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of Templates: time 0.004334/0.1582, allocations: 1.47 MB / 481.2 MB, free: 3.797 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches