Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001949, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.002281/0.002281, allocations: 187 kB / 19.34 MB, free: 3.77 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.531/1.531, allocations: 222.9 MB / 243 MB, free: 15.16 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.2391/0.2391, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.56 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.07986, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002334/0.08223, allocations: 1.638 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006134/0.08285, allocations: 451.1 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.0829, allocations: 0 / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.08309, allocations: 59.8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.08327, allocations: 55.7 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.08361, allocations: 182.3 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.08375, allocations: 83.75 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/0.08383, allocations: 16 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.08388, allocations: 39.83 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.08397, allocations: 47.84 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.08398, allocations: 4 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.08407, allocations: 51.97 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.08413, allocations: 23.91 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.08417, allocations: 27.75 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.08431, allocations: 115.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.08432, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08433, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.08434, allocations: 0 / 473.5 MB, free: 10.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003706/0.08471, allocations: 415 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.08474, allocations: 8.031 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.08478, allocations: 8.844 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.08493, allocations: 203.8 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.08495, allocations: 4.312 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.08497, allocations: 4.375 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.08512, allocations: 69.8 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.08513, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.08515, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.08515, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.08528, allocations: 51.95 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.08563, allocations: 324.5 kB / 474.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.08583, allocations: 58.55 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.08591, allocations: 32.97 kB / 474.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.08593, allocations: 96 / 474.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.08595, allocations: 38.5 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.08596, allocations: 0 / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001191/0.08715, allocations: 404.9 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.08719, allocations: 59.34 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.08733, allocations: 186.2 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.08735, allocations: 29.7 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.0874, allocations: 108 kB / 475.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.08743, allocations: 35.41 kB / 475.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.08747, allocations: 25.7 kB / 475.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.08755, allocations: 326.8 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.08767, allocations: 51.97 kB / 475.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.08779, allocations: 55.95 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.08801, allocations: 132.9 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.08802, allocations: 0 / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002736/0.0883, allocations: 165.5 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.08832, allocations: 4 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.08833, allocations: 0 / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.08834, allocations: 4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.08844, allocations: 27.92 kB / 476.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.08845, allocations: 0 / 476.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.0885, allocations: 7.984 kB / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.08852, allocations: 19.88 kB / 476.3 MB, free: 7.855 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 (11): * Single equations (assignments): 11 * 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 7.66e-05/0.0886, allocations: 129.8 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.08864, allocations: 15.8 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.08897, allocations: 178.9 kB / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.08898, allocations: 3.938 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.08899, allocations: 0 / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.089, allocations: 12 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.08955, allocations: 500 kB / 477.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.08956, allocations: 4 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.08965, allocations: 31.91 kB / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.08966, allocations: 4.062 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.08967, allocations: 4 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.08968, allocations: 0 / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08968, allocations: 0 / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.08999, allocations: 276.9 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.09003, allocations: 85.02 kB / 477.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.09005, allocations: 4 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.09015, allocations: 11.98 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.09019, allocations: 15.92 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.0902, allocations: 4 kB / 477.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.0903, allocations: 141 kB / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0903, allocations: 3.938 kB / 477.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.09054, allocations: 31.98 kB / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008317/0.09137, allocations: 455.6 kB / 478.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.09166, allocations: 127.9 kB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.09167, allocations: 0 / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.09181, allocations: 71.89 kB / 478.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.09209, allocations: 35.59 kB / 478.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.09249, allocations: 296.5 kB / 478.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.0927, allocations: 0.7119 MB / 479.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.09278, allocations: 32.53 kB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.09282, allocations: 15.44 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09282, allocations: 0 / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of Templates: time 0.05146/0.1443, allocations: 1.602 MB / 481 MB, free: 3.121 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches