Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 112.2 kB / 17.74 MB, free: 5.43 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.001117/0.001117, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.225/0.225, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.435, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003033/0.4381, allocations: 1.591 MB / 0.5204 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.439, allocations: 410.8 kB / 0.5208 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.4391, allocations: 4 kB / 0.5208 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.4395, allocations: 102.3 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.4397, allocations: 76.84 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.44, allocations: 89.97 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.4402, allocations: 75.31 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4403, allocations: 21.84 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.4404, allocations: 38.67 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4406, allocations: 64.91 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.4406, allocations: 3.281 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.4407, allocations: 47.62 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.4408, allocations: 21.3 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.4408, allocations: 30.88 kB / 0.5214 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.441, allocations: 112.5 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.441, allocations: 1.156 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4411, allocations: 4 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4411, allocations: 0 / 0.5215 GB, free: 1.988 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.000455/0.4415, allocations: 417.8 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4416, allocations: 10.12 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.4416, allocations: 9.656 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4418, allocations: 208.2 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4418, allocations: 5.531 kB / 0.5221 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4418, allocations: 2.719 kB / 0.5221 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.442, allocations: 65.2 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.442, allocations: 0 / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.442, allocations: 1.062 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.442, allocations: 3.984 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.4421, allocations: 25.19 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.4425, allocations: 297.2 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.4426, allocations: 51 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.4426, allocations: 22.67 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4427, allocations: 1.891 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.4427, allocations: 31.78 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4427, allocations: 0 / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008913/0.4436, allocations: 228.3 kB / 0.5228 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.4436, allocations: 57.72 kB / 0.5228 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4439, allocations: 238.6 kB / 0.5231 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.4439, allocations: 29.7 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.4439, allocations: 110.5 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.444, allocations: 29.09 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.444, allocations: 21.38 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.4441, allocations: 328.2 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.4442, allocations: 34.78 kB / 0.5236 GB, free: 92 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.4442, allocations: 21.66 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4444, allocations: 58.94 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4444, allocations: 1.156 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.4446, allocations: 109.3 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4447, allocations: 8.828 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4447, allocations: 0 / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4447, allocations: 1.125 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4448, allocations: 21.64 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4449, allocations: 3.938 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.4449, allocations: 5.031 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4449, allocations: 2.5 kB / 0.5238 GB, free: 15.99 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 (8): * Single equations (assignments): 8 * 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.0001197/0.445, allocations: 134.4 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.4451, allocations: 14.55 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.4454, allocations: 116 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4454, allocations: 2.047 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4454, allocations: 3.938 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4454, allocations: 0.75 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.446, allocations: 413.2 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.446, allocations: 3.828 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.4461, allocations: 21.67 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4461, allocations: 0.7969 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4461, allocations: 1.812 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4461, allocations: 0 / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4461, allocations: 2.344 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4464, allocations: 211 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.4464, allocations: 92.75 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4465, allocations: 2.375 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.4465, allocations: 5.219 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.4466, allocations: 10.64 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4466, allocations: 1.281 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.4468, allocations: 184.2 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4468, allocations: 4 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.4471, allocations: 20.77 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001097/0.4482, allocations: 461.5 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.4484, allocations: 66.67 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4484, allocations: 0.9375 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.4485, allocations: 30.72 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4489, allocations: 30.31 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.4494, allocations: 273.3 kB / 0.5258 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4497, allocations: 0.7198 MB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.4498, allocations: 14.16 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.4499, allocations: 14.86 kB / 0.5266 GB, free: 13.87 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4499, allocations: 0 / 0.5266 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Templates: time 0.004565/0.4544, allocations: 1.334 MB / 0.5279 GB, free: 13.47 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches