Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") 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: 112.7 kB / 18.45 MB, free: 4.621 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.001252/0.001252, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.42/1.42, allocations: 222.9 MB / 243.1 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.232/0.232, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4259, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003085/0.4291, allocations: 1.576 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.4298, allocations: 403.5 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.4299, allocations: 1.438 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.4306, allocations: 449.6 kB / 0.5219 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.4311, allocations: 252.6 kB / 0.5222 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.4315, allocations: 125.1 kB / 0.5223 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.4318, allocations: 155.7 kB / 0.5224 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.4319, allocations: 11.72 kB / 0.5225 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.432, allocations: 110.9 kB / 0.5226 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.4324, allocations: 201 kB / 0.5228 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.4324, allocations: 2.094 kB / 0.5228 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.4325, allocations: 18.83 kB / 0.5228 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4326, allocations: 89.16 kB / 0.5229 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.4327, allocations: 98.56 kB / 0.5229 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.433, allocations: 232.8 kB / 0.5232 GB, free: 1.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.433, allocations: 0 / 0.5232 GB, free: 1.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.433, allocations: 5.188 kB / 0.5232 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.433, allocations: 0 / 0.5232 GB, free: 1.863 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.0006589/0.4337, allocations: 0.6241 MB / 0.5238 GB, free: 1.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4337, allocations: 10.84 kB / 0.5238 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.4338, allocations: 38.34 kB / 0.5238 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4341, allocations: 299.4 kB / 0.5241 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4341, allocations: 1.688 kB / 0.5241 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4341, allocations: 1.562 kB / 0.5241 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.4342, allocations: 48.84 kB / 0.5242 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4343, allocations: 0 / 0.5242 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4343, allocations: 4 kB / 0.5242 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4343, allocations: 2.281 kB / 0.5242 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.4344, allocations: 27.94 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.4348, allocations: 373.5 kB / 0.5246 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/0.4349, allocations: 29.88 kB / 0.5246 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.435, allocations: 13.47 kB / 0.5246 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.435, allocations: 0 / 0.5246 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.435, allocations: 36.73 kB / 0.5246 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.435, allocations: 11.88 kB / 0.5246 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002459/0.4353, allocations: 95.5 kB / 0.5247 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.4353, allocations: 51.41 kB / 0.5248 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.4362, allocations: 0.8545 MB / 0.5256 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.4362, allocations: 25.7 kB / 0.5256 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4364, allocations: 218.7 kB / 0.5259 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.4365, allocations: 10.03 kB / 0.5259 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.4365, allocations: 12.66 kB / 0.5259 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4367, allocations: 368.3 kB / 0.5262 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.4367, allocations: 7.609 kB / 0.5262 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.4368, allocations: 11 kB / 0.5262 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.4368, allocations: 23.62 kB / 0.5263 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4368, allocations: 0 / 0.5263 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001436/0.437, allocations: 97.36 kB / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.437, allocations: 5.5 kB / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.437, allocations: 0.75 kB / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4371, allocations: 1.375 kB / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.4371, allocations: 5.578 kB / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4371, allocations: 0 / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.4372, allocations: 7.453 kB / 0.5264 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4372, allocations: 0.7969 kB / 0.5264 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 (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.0002191/0.4374, allocations: 210.7 kB / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.4375, allocations: 41.44 kB / 0.5266 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.4377, allocations: 107.8 kB / 0.5267 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4377, allocations: 1.375 kB / 0.5267 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4377, allocations: 0 / 0.5267 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4377, allocations: 1.375 kB / 0.5267 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.4381, allocations: 288.8 kB / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4381, allocations: 0 / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.4381, allocations: 5.5 kB / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4381, allocations: 0 / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4381, allocations: 4.031 kB / 0.527 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4381, allocations: 1.375 kB / 0.527 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4381, allocations: 3.984 kB / 0.527 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.4383, allocations: 187.9 kB / 0.5272 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.4384, allocations: 104.9 kB / 0.5273 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4385, allocations: 1.375 kB / 0.5273 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.4385, allocations: 1.406 kB / 0.5273 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.4386, allocations: 17.36 kB / 0.5273 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.4386, allocations: 0 / 0.5273 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006961/0.4393, allocations: 0.6431 MB / 0.5279 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4393, allocations: 0 / 0.5279 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.4396, allocations: 26.44 kB / 0.528 GB, free: 14.33 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.0008424/0.4404, allocations: 347.2 kB / 0.5283 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.4406, allocations: 21.86 kB / 0.5283 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4406, allocations: 0 / 0.5283 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.4406, allocations: 10.88 kB / 0.5283 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.4411, allocations: 25.17 kB / 0.5284 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4423, allocations: 0.7878 MB / 0.5291 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.4427, allocations: 0.8185 MB / 0.5299 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.4428, allocations: 11.19 kB / 0.5299 GB, free: 12.92 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4428, allocations: 0 / 0.5299 GB, free: 12.92 MB / 398.1 MB Notification: Performance of Templates: time 0.007533/0.4503, allocations: 3.416 MB / 0.5333 GB, free: 11.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches