Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001334, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.00131/0.00131, allocations: 180.2 kB / 19.38 MB, free: 3.684 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 / 243.1 MB, free: 15.04 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.221/0.221, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.41, allocations: 60.81 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002988/0.413, allocations: 1.628 MB / 0.5212 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.4138, allocations: 421.9 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.4138, allocations: 1.062 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.4145, allocations: 449.8 kB / 0.522 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.415, allocations: 256.3 kB / 0.5222 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.4154, allocations: 127.3 kB / 0.5224 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.4157, allocations: 167.9 kB / 0.5225 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4159, allocations: 12.84 kB / 0.5225 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.416, allocations: 107 kB / 0.5226 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.4164, allocations: 206.6 kB / 0.5228 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.4164, allocations: 6.094 kB / 0.5228 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.4165, allocations: 34.77 kB / 0.5229 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.4167, allocations: 85.69 kB / 0.523 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.4168, allocations: 95.39 kB / 0.523 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.4172, allocations: 251.7 kB / 0.5233 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4172, allocations: 3.938 kB / 0.5233 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4172, allocations: 0 / 0.5233 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.4172, allocations: 0 / 0.5233 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008131/0.418, allocations: 0.6281 MB / 0.5239 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4181, allocations: 13.22 kB / 0.5239 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.4182, allocations: 42.53 kB / 0.524 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4184, allocations: 293.3 kB / 0.5242 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.4185, allocations: 384 / 0.5242 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.4185, allocations: 4.844 kB / 0.5242 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4186, allocations: 54.25 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4187, allocations: 0.7031 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4187, allocations: 1.938 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4187, allocations: 0 / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.4188, allocations: 26.06 kB / 0.5243 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.4193, allocations: 388.9 kB / 0.5247 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.4195, allocations: 41.11 kB / 0.5247 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.4196, allocations: 24.92 kB / 0.5248 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4196, allocations: 2.109 kB / 0.5248 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4196, allocations: 36.89 kB / 0.5248 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4196, allocations: 0 / 0.5248 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006224/0.4203, allocations: 224.3 kB / 0.525 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.4203, allocations: 53.19 kB / 0.5251 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.4212, allocations: 0.8584 MB / 0.5259 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4213, allocations: 25.7 kB / 0.5259 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.4215, allocations: 222.2 kB / 0.5261 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4215, allocations: 15.55 kB / 0.5261 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.4215, allocations: 18.86 kB / 0.5262 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4217, allocations: 367.1 kB / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.4218, allocations: 22.7 kB / 0.5265 GB, free: 15.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.4219, allocations: 18.11 kB / 0.5266 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.422, allocations: 52.2 kB / 0.5266 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.422, allocations: 1.188 kB / 0.5266 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002081/0.4222, allocations: 110.3 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4223, allocations: 5.25 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4223, allocations: 0 / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4223, allocations: 1.406 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.4224, allocations: 16.86 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4224, allocations: 1.25 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.4224, allocations: 14.5 kB / 0.5267 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4224, allocations: 1.562 kB / 0.5267 GB, free: 15.24 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 (5): * Single equations (assignments): 5 * 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.0002039/0.4227, allocations: 210.9 kB / 0.5269 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.4227, allocations: 40.56 kB / 0.527 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.423, allocations: 130.4 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.423, allocations: 5.297 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.423, allocations: 0 / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.423, allocations: 9.281 kB / 0.5271 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.4236, allocations: 452.8 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4236, allocations: 320 / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.4237, allocations: 12.69 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4237, allocations: 1.406 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4237, allocations: 5.688 kB / 0.5276 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4237, allocations: 0 / 0.5276 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4237, allocations: 0 / 0.5276 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.424, allocations: 218.1 kB / 0.5278 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.4241, allocations: 105.2 kB / 0.5279 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4241, allocations: 5.219 kB / 0.5279 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.4242, allocations: 10.7 kB / 0.5279 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.4242, allocations: 2.75 kB / 0.5279 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.4242, allocations: 5.344 kB / 0.5279 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006728/0.4249, allocations: 0.65 MB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4249, allocations: 0 / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4252, allocations: 22.42 kB / 0.5286 GB, free: 13.93 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 (5): * Single equations (assignments): 5 * 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.0009495/0.4261, allocations: 400.7 kB / 0.5289 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.4264, allocations: 48.38 kB / 0.529 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4264, allocations: 0 / 0.529 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.4265, allocations: 28.23 kB / 0.529 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.4269, allocations: 28.7 kB / 0.529 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4281, allocations: 0.8088 MB / 0.5298 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.4286, allocations: 0.8253 MB / 0.5306 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.4286, allocations: 16.58 kB / 0.5307 GB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4286, allocations: 0 / 0.5307 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Templates: time 0.007378/0.436, allocations: 3.662 MB / 0.5342 GB, free: 10.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches