Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008974/0.0008975, allocations: 95.02 kB / 17 MB, free: 6.418 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.00128/0.00128, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.425/1.425, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 44.25 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 13.03 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002277/0.1469, allocations: 1.679 MB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1485, allocations: 1.089 MB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.1486, allocations: 4 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.1489, allocations: 39.7 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1492, allocations: 135.5 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1503, allocations: 0.5452 MB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1507, allocations: 275 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1509, allocations: 64.77 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1511, allocations: 107.5 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1513, allocations: 171.4 kB / 475.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.1514, allocations: 8 kB / 475.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1515, allocations: 51.86 kB / 475.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1517, allocations: 139.6 kB / 475.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.1517, allocations: 77.39 kB / 476 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.152, allocations: 275.6 kB / 476.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.152, allocations: 0 / 476.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.152, allocations: 4 kB / 476.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1521, allocations: 0 / 476.2 MB, free: 9.043 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009397/0.153, allocations: 0.7153 MB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.153, allocations: 12.03 kB / 477 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.1531, allocations: 51.34 kB / 477 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.1536, allocations: 427.1 kB / 477.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1537, allocations: 4 kB / 477.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.1537, allocations: 15.91 kB / 477.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1541, allocations: 167.2 kB / 477.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1541, allocations: 8 kB / 477.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1541, allocations: 4 kB / 477.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1541, allocations: 4 kB / 477.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1545, allocations: 135.8 kB / 477.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1555, allocations: 0.7152 MB / 478.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.1558, allocations: 137.2 kB / 478.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.156, allocations: 77.8 kB / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.156, allocations: 15.92 kB / 478.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1561, allocations: 34.56 kB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1561, allocations: 0 / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002135/0.1582, allocations: 0.7946 MB / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1583, allocations: 89.05 kB / 479.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/0.1593, allocations: 0.8544 MB / 480.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1593, allocations: 25.7 kB / 480.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1595, allocations: 252.4 kB / 480.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.1596, allocations: 67 kB / 480.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.1596, allocations: 4 kB / 480.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1598, allocations: 370.8 kB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.1601, allocations: 123.9 kB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.1604, allocations: 148 kB / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1607, allocations: 144 kB / 481.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1607, allocations: 0 / 481.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007117/0.1614, allocations: 372.7 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1615, allocations: 4 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1615, allocations: 0 / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1615, allocations: 0 / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1618, allocations: 67.89 kB / 482 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1618, allocations: 4 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.162, allocations: 27.97 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.162, allocations: 7.984 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002361/0.1622, allocations: 218.3 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.1623, allocations: 51.34 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008924/0.1632, allocations: 442.6 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.1633, allocations: 4 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1633, allocations: 0 / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1633, allocations: 8.109 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.1648, allocations: 0.9697 MB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1648, allocations: 3.938 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.1651, allocations: 55.95 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1651, allocations: 4 kB / 483.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1651, allocations: 7.984 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1651, allocations: 4 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1651, allocations: 0 / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.166, allocations: 0.537 MB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.1661, allocations: 148.4 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.1662, allocations: 8 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1664, allocations: 27.97 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1665, allocations: 19.97 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1666, allocations: 4 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000711/0.1673, allocations: 0.6237 MB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 4 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000392/0.1677, allocations: 63.98 kB / 485.2 MB, free: 15.68 MB / 366.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 (20): * Single equations (assignments): 20 * 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.0009738/0.1687, allocations: 406.1 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.1694, allocations: 299.7 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1694, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1697, allocations: 163.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.1703, allocations: 66.27 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.172, allocations: 1.05 MB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.1725, allocations: 0.8773 MB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.1728, allocations: 98.88 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1729, allocations: 47.36 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1729, allocations: 0 / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.008329/0.1813, allocations: 3.956 MB / 492.2 MB, free: 8.852 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches