Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001362/0.001362, allocations: 181 kB / 18.71 MB, free: 4.207 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2216/0.2216, allocations: 44.18 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.84 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002514/0.3249, allocations: 1.578 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.3256, allocations: 431.1 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.3256, allocations: 0.875 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.3262, allocations: 445.8 kB / 0.5213 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.3266, allocations: 260.8 kB / 0.5215 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.327, allocations: 169.5 kB / 0.5217 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3272, allocations: 154.6 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.3273, allocations: 16.97 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3275, allocations: 110.6 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3277, allocations: 201.3 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3277, allocations: 2.938 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.3278, allocations: 32.72 kB / 0.5222 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.3279, allocations: 76.8 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.328, allocations: 98.83 kB / 0.5224 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.3282, allocations: 251.2 kB / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3282, allocations: 5.953 kB / 0.5226 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3283, allocations: 0 / 0.5226 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3283, allocations: 0 / 0.5226 GB, free: 1.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005011/0.3288, allocations: 0.6321 MB / 0.5232 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.3288, allocations: 9.188 kB / 0.5232 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.3289, allocations: 42.81 kB / 0.5233 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.329, allocations: 297.9 kB / 0.5236 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.3291, allocations: 0.9375 kB / 0.5236 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.3291, allocations: 5.875 kB / 0.5236 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3292, allocations: 55.61 kB / 0.5236 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3292, allocations: 0 / 0.5236 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3292, allocations: 0 / 0.5236 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3292, allocations: 1.75 kB / 0.5236 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.3293, allocations: 30.69 kB / 0.5237 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.3297, allocations: 391.6 kB / 0.524 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.3298, allocations: 35.41 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.3298, allocations: 18.72 kB / 0.5241 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3299, allocations: 4.594 kB / 0.5241 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.3299, allocations: 35.91 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3299, allocations: 0 / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002253/0.3301, allocations: 103 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.3302, allocations: 57.16 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.3309, allocations: 0.8596 MB / 0.5251 GB, free: 8 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.331, allocations: 26.8 kB / 0.5251 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3312, allocations: 218.8 kB / 0.5253 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3312, allocations: 4.797 kB / 0.5253 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.3312, allocations: 13.92 kB / 0.5254 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3314, allocations: 366 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.3314, allocations: 9.516 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.3314, allocations: 14.81 kB / 0.5257 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.311e-05/0.3315, allocations: 26.34 kB / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3315, allocations: 0 / 0.5258 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001594/0.3317, allocations: 98.33 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3317, allocations: 5.281 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3317, allocations: 0 / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3318, allocations: 1.156 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.3318, allocations: 7.781 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3318, allocations: 1.125 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3319, allocations: 6.234 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3319, allocations: 0 / 0.5259 GB, free: 15.34 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 (2): * Single equations (assignments): 2 * 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 0.0001641/0.3321, allocations: 214.8 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.3321, allocations: 40.91 kB / 0.5261 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.3323, allocations: 112.1 kB / 0.5262 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3323, allocations: 9.469 kB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3323, allocations: 0 / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3323, allocations: 0 / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.3326, allocations: 286.9 kB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3326, allocations: 1.406 kB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.3326, allocations: 4 kB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3326, allocations: 0 / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3327, allocations: 5.438 kB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3327, allocations: 0 / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3327, allocations: 0 / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.3328, allocations: 193.4 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.3329, allocations: 114.4 kB / 0.5268 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3329, allocations: 4 kB / 0.5268 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.333, allocations: 2.75 kB / 0.5268 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.333, allocations: 7.984 kB / 0.5268 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3331, allocations: 5.312 kB / 0.5268 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005707/0.3336, allocations: 0.6478 MB / 0.5275 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3336, allocations: 7.969 kB / 0.5275 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3339, allocations: 18.53 kB / 0.5275 GB, free: 14.18 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 (2): * Single equations (assignments): 2 * 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.0007509/0.3346, allocations: 338.4 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.3348, allocations: 27.77 kB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3348, allocations: 0 / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.3348, allocations: 15.48 kB / 0.5279 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.3352, allocations: 28.69 kB / 0.5279 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009848/0.3362, allocations: 0.7699 MB / 0.5286 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3366, allocations: 0.8284 MB / 0.5294 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.3366, allocations: 10.19 kB / 0.5295 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.3367, allocations: 14.48 kB / 0.5295 GB, free: 12.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3367, allocations: 3.938 kB / 0.5295 GB, free: 12.77 MB / 398.1 MB Notification: Performance of Templates: time 0.004316/0.341, allocations: 1.271 MB / 0.5307 GB, free: 12.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches