Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001199/0.001199, allocations: 179.1 kB / 18.71 MB, free: 4.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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.204/0.204, allocations: 44.19 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3548, allocations: 60.83 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002952/0.3578, allocations: 1.626 MB / 0.5205 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3592, allocations: 1.055 MB / 0.5215 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.3593, allocations: 1.281 kB / 0.5215 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.3595, allocations: 28.94 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.3598, allocations: 46.02 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3602, allocations: 171.4 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3604, allocations: 72.8 kB / 0.5218 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3605, allocations: 20.16 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.3606, allocations: 24.8 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3607, allocations: 31.7 kB / 0.5219 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3607, allocations: 4.312 kB / 0.5219 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3609, allocations: 51.61 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.3609, allocations: 21.73 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.361, allocations: 26.48 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3612, allocations: 100.4 kB / 0.5221 GB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3612, allocations: 0.9375 kB / 0.5221 GB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3612, allocations: 0 / 0.5221 GB, free: 1.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3613, allocations: 1.031 kB / 0.5221 GB, free: 1.434 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.0004482/0.3617, allocations: 395.8 kB / 0.5225 GB, free: 1.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3617, allocations: 9.375 kB / 0.5225 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.3618, allocations: 12.3 kB / 0.5225 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.362, allocations: 187 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.362, allocations: 2.734 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.362, allocations: 2.594 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3622, allocations: 84.83 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3622, allocations: 0 / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3622, allocations: 0.75 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3622, allocations: 9.344 kB / 0.5228 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.3624, allocations: 44.42 kB / 0.5228 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3628, allocations: 302.3 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3629, allocations: 47.2 kB / 0.5232 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.363, allocations: 25.08 kB / 0.5232 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.363, allocations: 5.516 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.363, allocations: 36.3 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.363, allocations: 3.938 kB / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007728/0.3638, allocations: 225.3 kB / 0.5234 GB, free: 272 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3638, allocations: 78.98 kB / 0.5235 GB, free: 176 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.364, allocations: 128.3 kB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.364, allocations: 30.77 kB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.3641, allocations: 93.27 kB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3641, allocations: 20.86 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3641, allocations: 20.3 kB / 0.5238 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3643, allocations: 323.8 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3644, allocations: 42.8 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3645, allocations: 50.89 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3648, allocations: 87.38 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3648, allocations: 4.031 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002897/0.3651, allocations: 126.6 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3651, allocations: 6.125 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3651, allocations: 0 / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3651, allocations: 0 / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3653, allocations: 19.25 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3653, allocations: 2.125 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.3653, allocations: 15.53 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3653, allocations: 3 kB / 0.5245 GB, free: 15.45 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.958e-05/0.3654, allocations: 125 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.3655, allocations: 7.734 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.3658, allocations: 136.8 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3658, allocations: 2.5 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3659, allocations: 4 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3659, allocations: 8.531 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.3664, allocations: 412.5 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3664, allocations: 0 / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.461e-05/0.3665, allocations: 23.69 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3665, allocations: 1 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3665, allocations: 7.938 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3665, allocations: 1.562 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3665, allocations: 0 / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.367, allocations: 219.5 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.367, allocations: 79.14 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.367, allocations: 5.672 kB / 0.5254 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.3671, allocations: 12.45 kB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3672, allocations: 14.31 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3672, allocations: 1.984 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.882e-05/0.3673, allocations: 108.4 kB / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3673, allocations: 0 / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3676, allocations: 34.84 kB / 0.5256 GB, free: 14.52 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.001086/0.3687, allocations: 439.3 kB / 0.526 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.369, allocations: 91.53 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3691, allocations: 0 / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3692, allocations: 50.3 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3696, allocations: 18.52 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.3701, allocations: 196.2 kB / 0.5264 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3704, allocations: 0.6994 MB / 0.527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.847e-05/0.3705, allocations: 30.67 kB / 0.5271 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.3706, allocations: 23.03 kB / 0.5271 GB, free: 13.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3706, allocations: 0 / 0.5271 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Templates: time 0.005384/0.376, allocations: 1.542 MB / 0.5286 GB, free: 12.82 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches