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.001629/0.001629, 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.00171/0.00171, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.747/1.747, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2284/0.2284, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3431, allocations: 60.82 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002463/0.3456, allocations: 1.633 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3469, allocations: 1.061 MB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3469, allocations: 0 / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3471, allocations: 24.58 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.3473, allocations: 45.56 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.3477, allocations: 171.1 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3479, allocations: 69.78 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.3479, allocations: 19.55 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.348, allocations: 25.81 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3481, allocations: 35.81 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3481, allocations: 4.438 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3483, allocations: 50.95 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.3483, allocations: 20.66 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.3484, allocations: 23.34 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3485, allocations: 95.55 kB / 0.5221 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3486, allocations: 4.875 kB / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3486, allocations: 0.6094 kB / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.3486, allocations: 1.062 kB / 0.5221 GB, free: 1.473 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.0003711/0.3489, allocations: 394.7 kB / 0.5225 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.349, allocations: 9.906 kB / 0.5225 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.349, allocations: 8.625 kB / 0.5225 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3492, allocations: 187.6 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3492, allocations: 1.531 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3492, allocations: 7.203 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3494, allocations: 84.06 kB / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3494, allocations: 0 / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3494, allocations: 5.219 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3494, allocations: 0.7969 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3496, allocations: 39.7 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3499, allocations: 307.6 kB / 0.5231 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3501, allocations: 41.89 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.3501, allocations: 25.97 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3502, allocations: 2.031 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.3502, allocations: 39.16 kB / 0.5232 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3502, allocations: 6.156 kB / 0.5232 GB, free: 412 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007286/0.3509, allocations: 220 kB / 0.5234 GB, free: 328 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.351, allocations: 78.62 kB / 0.5235 GB, free: 232 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3511, allocations: 136.8 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.3511, allocations: 30.77 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3512, allocations: 89.11 kB / 0.5237 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3512, allocations: 28.94 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.3512, allocations: 20.58 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3514, allocations: 323.1 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3515, allocations: 37.88 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3516, allocations: 55.62 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3519, allocations: 87.17 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3519, allocations: 1.188 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002861/0.3522, allocations: 133 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3522, allocations: 5.344 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3522, allocations: 1.156 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3522, allocations: 1.125 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3523, allocations: 18.36 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3523, allocations: 5.094 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.3524, allocations: 12.88 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3524, allocations: 2.844 kB / 0.5244 GB, free: 15.49 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.677e-05/0.3525, allocations: 121.1 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3525, allocations: 8.469 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.3529, allocations: 136.1 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3529, allocations: 2.438 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3529, allocations: 0 / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3529, allocations: 4.641 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.3535, allocations: 409.3 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3535, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.3536, allocations: 23.58 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3536, allocations: 0.6562 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3536, allocations: 7.938 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3536, allocations: 0.5625 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3536, allocations: 2.25 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.354, allocations: 218 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.354, allocations: 83.17 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3541, allocations: 5.906 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.3541, allocations: 7.828 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3542, allocations: 10.33 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3542, allocations: 5.859 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.3543, allocations: 107.5 kB / 0.5256 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3543, allocations: 3.938 kB / 0.5256 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3546, allocations: 28.34 kB / 0.5256 GB, free: 14.58 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.0009968/0.3556, allocations: 448.5 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.356, allocations: 91 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.356, allocations: 0 / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3561, allocations: 49.59 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3564, allocations: 18.41 kB / 0.5262 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.3569, allocations: 210.9 kB / 0.5264 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3572, allocations: 0.6999 MB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.3573, allocations: 23.2 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.3574, allocations: 19.28 kB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3574, allocations: 0 / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.004362/0.3617, allocations: 1.55 MB / 0.5286 GB, free: 12.87 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