Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009828, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000712/0.000712, allocations: 92.78 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.278/0.278, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003739, allocations: 19.94 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08852, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.001676/0.09022, allocations: 1.305 MB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005406/0.09079, allocations: 327.7 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.09086, allocations: 0 / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.09108, allocations: 59.86 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.09123, allocations: 47.88 kB / 492.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.09159, allocations: 135.8 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.09172, allocations: 63.81 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.09181, allocations: 27.83 kB / 492.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.09187, allocations: 23.84 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.09195, allocations: 35.84 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.09197, allocations: 0 / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.09204, allocations: 35.98 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.0921, allocations: 19.92 kB / 492.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.09215, allocations: 45.52 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.09226, allocations: 76.09 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09227, allocations: 0 / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09228, allocations: 0 / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.09229, allocations: 0 / 493 MB, free: 8.457 MB / 378.7 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.0004004/0.09269, allocations: 391.2 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.09273, allocations: 12.03 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.09277, allocations: 8.844 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.09293, allocations: 196.6 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.09295, allocations: 4.375 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.09297, allocations: 7.938 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.09314, allocations: 69.59 kB / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.09315, allocations: 0 / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.09317, allocations: 0 / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.09318, allocations: 4 kB / 493.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.09332, allocations: 51.95 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.09371, allocations: 308.7 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.09384, allocations: 54.5 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.09392, allocations: 28.94 kB / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.09395, allocations: 0 / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.09398, allocations: 38.56 kB / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.09398, allocations: 0 / 494.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007449/0.09474, allocations: 269 kB / 494.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.09478, allocations: 59.34 kB / 494.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.09495, allocations: 178.5 kB / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.09497, allocations: 25.7 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.09503, allocations: 100.1 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.09506, allocations: 31.66 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.09507, allocations: 0 / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.09517, allocations: 322.8 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.09529, allocations: 47.97 kB / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.09542, allocations: 48.03 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.09565, allocations: 112.7 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.09566, allocations: 0 / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002806/0.09595, allocations: 137.5 kB / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.09597, allocations: 4 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09598, allocations: 0 / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.09599, allocations: 0 / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.09611, allocations: 27.98 kB / 495.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.09612, allocations: 3.938 kB / 495.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.09619, allocations: 11.98 kB / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.09621, allocations: 4 kB / 495.5 MB, free: 5.734 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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 8.205e-05/0.09629, allocations: 133.8 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.09633, allocations: 11.81 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.09666, allocations: 158.3 kB / 495.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.09668, allocations: 8 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.09669, allocations: 3.938 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.0967, allocations: 0 / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.0972, allocations: 422.5 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.09722, allocations: 0 / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.0973, allocations: 19.98 kB / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.09731, allocations: 3.938 kB / 496.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.09733, allocations: 7.984 kB / 496.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09733, allocations: 0 / 496.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09734, allocations: 0 / 496.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.09764, allocations: 239.6 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.0977, allocations: 96.94 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.09772, allocations: 4 kB / 496.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.09781, allocations: 11.98 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.09785, allocations: 11.97 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.09786, allocations: 0 / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.09796, allocations: 136.1 kB / 496.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09797, allocations: 3.938 kB / 496.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.0982, allocations: 24 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0007424/0.09895, allocations: 399 kB / 497.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.09924, allocations: 103.9 kB / 497.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.09925, allocations: 0 / 497.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.09938, allocations: 64.03 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.09968, allocations: 15.98 kB / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.1001, allocations: 286.8 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1003, allocations: 0.7043 MB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1004, allocations: 19.42 kB / 498.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1004, allocations: 0 / 498.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of Templates: time 0.002959/0.1033, allocations: 1.669 MB / 0.4883 GB, free: 1.102 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches