Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001274/0.001274, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2153/0.2153, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3321, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002758/0.3349, allocations: 1.63 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3362, allocations: 1.061 MB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3363, allocations: 1.531 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.3365, allocations: 26.58 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3368, allocations: 46.7 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.3372, allocations: 171.4 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3373, allocations: 68.75 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.3375, allocations: 15.88 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.3375, allocations: 33.02 kB / 0.5219 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3376, allocations: 28.39 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3377, allocations: 3.594 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3378, allocations: 55.8 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.3379, allocations: 22.02 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.3379, allocations: 22.7 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.3381, allocations: 100.4 kB / 0.5221 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3381, allocations: 0 / 0.5221 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3381, allocations: 0 / 0.5221 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3381, allocations: 0 / 0.5221 GB, free: 1.457 MB / 382.1 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.0003932/0.3385, allocations: 397.9 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3386, allocations: 10 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3386, allocations: 8.234 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3388, allocations: 188.5 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.3388, allocations: 1.469 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3388, allocations: 6.688 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.339, allocations: 76.5 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.339, allocations: 4 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.339, allocations: 5.75 kB / 0.5228 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.339, allocations: 3.938 kB / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3391, allocations: 35.62 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3395, allocations: 314.6 kB / 0.5231 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3396, allocations: 52.25 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.3397, allocations: 25.09 kB / 0.5232 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3397, allocations: 2.141 kB / 0.5232 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/0.3397, allocations: 32 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3397, allocations: 0 / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000719/0.3405, allocations: 221.2 kB / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.3405, allocations: 79.45 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3406, allocations: 132 kB / 0.5236 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3406, allocations: 27.17 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3407, allocations: 96.27 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3407, allocations: 21 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3408, allocations: 28.39 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3409, allocations: 327.6 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.341, allocations: 34.8 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3411, allocations: 55.77 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.3414, allocations: 87.38 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3414, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000301/0.3417, allocations: 121.2 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3417, allocations: 5.906 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3417, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3417, allocations: 2.5 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3419, allocations: 25.84 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3419, allocations: 1.406 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.3419, allocations: 13.25 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3419, allocations: 1.469 kB / 0.5245 GB, free: 15.48 MB / 398.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 (7): * Single equations (assignments): 7 * 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 8.764e-05/0.342, allocations: 117.2 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3421, allocations: 8.984 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.3424, allocations: 140.2 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3425, allocations: 1.562 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3425, allocations: 3.938 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3425, allocations: 8.484 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.343, allocations: 412.3 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.343, allocations: 2.156 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.3431, allocations: 21.8 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3431, allocations: 1 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3431, allocations: 8.844 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3432, allocations: 2.047 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3432, allocations: 0 / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.3435, allocations: 225.5 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3435, allocations: 81.06 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3436, allocations: 10 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.3437, allocations: 8.938 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3437, allocations: 4.781 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3437, allocations: 2.438 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.571e-05/0.3438, allocations: 106 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3438, allocations: 0 / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3441, allocations: 31.2 kB / 0.5256 GB, free: 14.55 MB / 398.1 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 (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.0009276/0.345, allocations: 441.3 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.3453, allocations: 100 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3453, allocations: 0 / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3455, allocations: 45.52 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3458, allocations: 21.75 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.3462, allocations: 201.2 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3464, allocations: 0.7039 MB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.063e-05/0.3465, allocations: 30.62 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.3466, allocations: 16.19 kB / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3466, allocations: 0 / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.003951/0.3505, allocations: 1.545 MB / 0.5286 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches