Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 107.7 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.001091/0.001091, 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.453/1.453, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2231/0.2231, allocations: 44.18 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.3 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1422, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003782/0.1461, allocations: 1.664 MB / 470.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.1469, allocations: 427.2 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.147, allocations: 0 / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1473, allocations: 99.73 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1475, allocations: 59.8 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1478, allocations: 107.3 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1479, allocations: 87.8 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1481, allocations: 28.27 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.1481, allocations: 35.84 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1482, allocations: 63.75 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1483, allocations: 4 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.1484, allocations: 47.97 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1484, allocations: 23.92 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1485, allocations: 35.69 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1487, allocations: 119.6 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1487, allocations: 7.938 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1487, allocations: 0 / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1487, allocations: 0 / 471.3 MB, free: 12.04 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.0005122/0.1492, allocations: 423 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1493, allocations: 15.97 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.1493, allocations: 12.75 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1495, allocations: 204.1 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1496, allocations: 4.375 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1496, allocations: 12.38 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1498, allocations: 73.78 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1498, allocations: 4 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1498, allocations: 0 / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1498, allocations: 0 / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.15, allocations: 43.91 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.1505, allocations: 348.6 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1506, allocations: 70.48 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.1507, allocations: 28.84 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1507, allocations: 4 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1508, allocations: 30.56 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1508, allocations: 4 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001094/0.1519, allocations: 329.2 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1519, allocations: 55.41 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1522, allocations: 235.2 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1522, allocations: 33.7 kB / 473.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.1523, allocations: 116 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.1523, allocations: 35.45 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.1524, allocations: 37.64 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1525, allocations: 322.8 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1526, allocations: 43.97 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.1527, allocations: 43.97 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1529, allocations: 119.2 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1529, allocations: 0 / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002671/0.1532, allocations: 149.5 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1532, allocations: 6.5 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1532, allocations: 4 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1533, allocations: 3.938 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1534, allocations: 31.92 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1534, allocations: 4 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.1534, allocations: 7.984 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1535, allocations: 4 kB / 474.1 MB, free: 9.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.1536, allocations: 137.8 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1536, allocations: 15.81 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.154, allocations: 179.5 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.154, allocations: 8 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.154, allocations: 3.984 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.154, allocations: 3.984 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.1547, allocations: 0.499 MB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1547, allocations: 4 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.1548, allocations: 31.95 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1548, allocations: 4 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1548, allocations: 0 / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1548, allocations: 4 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1548, allocations: 3.984 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1551, allocations: 252.1 kB / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.1552, allocations: 85.02 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1552, allocations: 4 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1553, allocations: 7.984 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.1553, allocations: 11.98 kB / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1554, allocations: 4 kB / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1555, allocations: 171.2 kB / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1555, allocations: 0 / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1558, allocations: 28 kB / 475.5 MB, free: 7.473 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 (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.001067/0.1569, allocations: 460.8 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.1572, allocations: 127.8 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1572, allocations: 0 / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1573, allocations: 55.97 kB / 476.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1577, allocations: 19.98 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.1584, allocations: 365.4 kB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1588, allocations: 0.72 MB / 477.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.1589, allocations: 28.53 kB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.1589, allocations: 19.42 kB / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1589, allocations: 0 / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004645/0.1636, allocations: 1.515 MB / 478.8 MB, free: 4.316 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches