Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001259, allocations: 104.1 kB / 18.44 MB, free: 4.605 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: 184.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.403/1.403, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2229/0.2229, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4076, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002854/0.4105, allocations: 1.585 MB / 0.5211 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.4112, allocations: 430.9 kB / 0.5215 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.4113, allocations: 0 / 0.5215 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.412, allocations: 455 kB / 0.522 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.4125, allocations: 253.5 kB / 0.5222 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.4129, allocations: 168.9 kB / 0.5224 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.4132, allocations: 158.9 kB / 0.5225 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4133, allocations: 12.42 kB / 0.5225 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.4135, allocations: 111 kB / 0.5226 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.4138, allocations: 201.4 kB / 0.5228 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.4138, allocations: 2.156 kB / 0.5228 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.4139, allocations: 32.16 kB / 0.5229 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.414, allocations: 78.3 kB / 0.5229 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.674e-05/0.4141, allocations: 99.06 kB / 0.523 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.4144, allocations: 243.2 kB / 0.5233 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4144, allocations: 4 kB / 0.5233 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4144, allocations: 0 / 0.5233 GB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4145, allocations: 1.344 kB / 0.5233 GB, free: 1.797 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.0006379/0.4151, allocations: 0.6175 MB / 0.5239 GB, free: 1.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4151, allocations: 8.75 kB / 0.5239 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.4152, allocations: 43.56 kB / 0.5239 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.4155, allocations: 294.2 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4155, allocations: 384 / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-06/0.4155, allocations: 2.219 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.4156, allocations: 59.67 kB / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4157, allocations: 0 / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4157, allocations: 4 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4157, allocations: 3.984 kB / 0.5243 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.4158, allocations: 24.53 kB / 0.5243 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.4162, allocations: 390.5 kB / 0.5247 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.4163, allocations: 35.44 kB / 0.5247 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.4164, allocations: 18.25 kB / 0.5247 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4164, allocations: 2.203 kB / 0.5247 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.4164, allocations: 30.56 kB / 0.5247 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4164, allocations: 5.406 kB / 0.5247 GB, free: 492 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002514/0.4167, allocations: 102.4 kB / 0.5248 GB, free: 428 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.4167, allocations: 56.91 kB / 0.5249 GB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.4175, allocations: 0.86 MB / 0.5257 GB, free: 32 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4176, allocations: 25.7 kB / 0.5258 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4178, allocations: 222.1 kB / 0.526 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4178, allocations: 5.844 kB / 0.526 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.4178, allocations: 17.27 kB / 0.526 GB, free: 15.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.418, allocations: 360.4 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.4181, allocations: 17.41 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.4181, allocations: 8.625 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.967e-05/0.4182, allocations: 29.17 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4182, allocations: 0.9375 kB / 0.5264 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001506/0.4184, allocations: 89.69 kB / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4184, allocations: 8.625 kB / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4184, allocations: 0 / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4184, allocations: 5.469 kB / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.4185, allocations: 7.766 kB / 0.5265 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4185, allocations: 0 / 0.5265 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.4186, allocations: 6.969 kB / 0.5265 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.4186, allocations: 0 / 0.5265 GB, free: 15.37 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.0001966/0.4188, allocations: 210.5 kB / 0.5267 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.4188, allocations: 45.77 kB / 0.5268 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.4191, allocations: 115.4 kB / 0.5269 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4191, allocations: 1.375 kB / 0.5269 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4191, allocations: 0 / 0.5269 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4191, allocations: 0 / 0.5269 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.4194, allocations: 283.7 kB / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4194, allocations: 0 / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.4195, allocations: 4.781 kB / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4195, allocations: 0 / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4195, allocations: 5.062 kB / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4195, allocations: 0 / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4195, allocations: 0 / 0.5271 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.4197, allocations: 197.5 kB / 0.5273 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.4198, allocations: 106.4 kB / 0.5274 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.4198, allocations: 0 / 0.5274 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.4199, allocations: 10.55 kB / 0.5274 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.42, allocations: 1.344 kB / 0.5274 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.42, allocations: 3.938 kB / 0.5274 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006236/0.4206, allocations: 0.652 MB / 0.5281 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4206, allocations: 0 / 0.5281 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.4209, allocations: 22.5 kB / 0.5281 GB, free: 14.22 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.0007907/0.4217, allocations: 348.4 kB / 0.5284 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.4218, allocations: 22.17 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4218, allocations: 1.5 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.4219, allocations: 11.8 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.4223, allocations: 32.78 kB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.4234, allocations: 0.7991 MB / 0.5293 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4238, allocations: 0.8248 MB / 0.5301 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.4239, allocations: 10.59 kB / 0.5301 GB, free: 12.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.854e-06/0.4239, allocations: 0 / 0.5301 GB, free: 12.79 MB / 398.1 MB Notification: Performance of Templates: time 0.006865/0.4307, allocations: 3.473 MB / 0.5335 GB, free: 10.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches