Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001222, allocations: 109.5 kB / 17.78 MB, free: 5.309 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.001448/0.001448, allocations: 188 kB / 18.71 MB, free: 4.387 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.473/1.473, 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.2389/0.2389, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.004667/0.4826, allocations: 1.571 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.484, allocations: 399.4 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.4841, allocations: 1.031 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.4844, allocations: 20.48 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.4848, allocations: 31.23 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.4853, allocations: 91.98 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.4855, allocations: 50.66 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.4857, allocations: 20.88 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.4857, allocations: 21.45 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.4858, allocations: 20.72 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.4859, allocations: 5.844 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.486, allocations: 30.69 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.4861, allocations: 16.5 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.4862, allocations: 17.23 kB / 0.5211 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.4864, allocations: 72.91 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4865, allocations: 4 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4865, allocations: 0 / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4865, allocations: 1.094 kB / 0.5212 GB, free: 2.066 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.000505/0.487, allocations: 372.8 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4871, allocations: 9.312 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.4871, allocations: 8.219 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.4873, allocations: 192.1 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4874, allocations: 1.469 kB / 0.5218 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.4874, allocations: 6.656 kB / 0.5218 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.4876, allocations: 53.27 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4876, allocations: 0 / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4877, allocations: 1.094 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.4877, allocations: 3.938 kB / 0.5218 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.4878, allocations: 22.86 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.4883, allocations: 280.5 kB / 0.5221 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.4886, allocations: 43.8 kB / 0.5222 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.4887, allocations: 18.09 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.4887, allocations: 1.062 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.4888, allocations: 32.38 kB / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.963e-06/0.4888, allocations: 0 / 0.5222 GB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008869/0.4897, allocations: 135 kB / 0.5223 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.4898, allocations: 52.11 kB / 0.5224 GB, free: 0.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.49, allocations: 140.9 kB / 0.5225 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.49, allocations: 25.7 kB / 0.5226 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.4901, allocations: 101.8 kB / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.4901, allocations: 15.31 kB / 0.5227 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.4902, allocations: 14.72 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.4903, allocations: 327.1 kB / 0.523 GB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4904, allocations: 22.05 kB / 0.523 GB, free: 324 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4906, allocations: 18.95 kB / 0.523 GB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.4908, allocations: 46.89 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4908, allocations: 0 / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002993/0.4911, allocations: 80.25 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4912, allocations: 10.45 kB / 0.5232 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4912, allocations: 0 / 0.5232 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4912, allocations: 1.406 kB / 0.5232 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.4913, allocations: 19.7 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4914, allocations: 1.188 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.4914, allocations: 5.578 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4915, allocations: 1 kB / 0.5232 GB, free: 240 kB / 382.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 9.346e-05/0.4916, allocations: 119.3 kB / 0.5233 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.4916, allocations: 11.02 kB / 0.5233 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.492, allocations: 89.64 kB / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.492, allocations: 1.781 kB / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.492, allocations: 0.6562 kB / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4921, allocations: 0 / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.4928, allocations: 341.4 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4928, allocations: 0 / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.4929, allocations: 16.11 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.493, allocations: 1.891 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.493, allocations: 192 / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.493, allocations: 9.453 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.493, allocations: 0 / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.4934, allocations: 178 kB / 0.5239 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.4935, allocations: 83.47 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.4936, allocations: 7.984 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4937, allocations: 13.55 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4938, allocations: 4.203 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4938, allocations: 1.094 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.4939, allocations: 113 kB / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.494, allocations: 0 / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.4944, allocations: 14.36 kB / 0.5242 GB, free: 15.36 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.00168/0.4961, allocations: 407.2 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.4965, allocations: 47.2 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4965, allocations: 0 / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4967, allocations: 24.75 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.4972, allocations: 25.64 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.498, allocations: 160.5 kB / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.4985, allocations: 0.6971 MB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.566e-05/0.4986, allocations: 11.97 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.4986, allocations: 12.52 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4986, allocations: 0 / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Templates: time 0.007072/0.5057, allocations: 1.111 MB / 0.5266 GB, free: 14.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches