Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001708/0.001708, allocations: 183.1 kB / 18.7 MB, free: 4.371 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.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2319/0.2319, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.454, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002998/0.457, allocations: 1.56 MB / 0.5204 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.4584, allocations: 1.019 MB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.4585, allocations: 1.156 kB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.4588, allocations: 20.36 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.459, allocations: 48.94 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.4593, allocations: 84.69 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.4594, allocations: 59.28 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.4596, allocations: 11.81 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.4596, allocations: 23.73 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.4598, allocations: 29.47 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4598, allocations: 6.344 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4599, allocations: 47.17 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.46, allocations: 16.83 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.46, allocations: 20.03 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.4602, allocations: 86.86 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4603, allocations: 0 / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4603, allocations: 1.156 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.4603, allocations: 0 / 0.5219 GB, free: 1.586 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.0004549/0.4607, allocations: 378.1 kB / 0.5222 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4608, allocations: 17.59 kB / 0.5222 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.4608, allocations: 7.625 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.461, allocations: 183.5 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.461, allocations: 9.5 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4611, allocations: 2.75 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.4612, allocations: 66.12 kB / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4613, allocations: 0.7031 kB / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4613, allocations: 4 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4613, allocations: 5.438 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.168e-05/0.4614, allocations: 17.97 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.4617, allocations: 269.2 kB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.4619, allocations: 47.42 kB / 0.5228 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.462, allocations: 14.33 kB / 0.5228 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.462, allocations: 4 kB / 0.5229 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.462, allocations: 32.66 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.462, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005237/0.4625, allocations: 142.7 kB / 0.523 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4626, allocations: 78.91 kB / 0.5231 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4627, allocations: 139.1 kB / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.4627, allocations: 26.55 kB / 0.5233 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.4628, allocations: 88.59 kB / 0.5233 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.4628, allocations: 19.91 kB / 0.5234 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.4628, allocations: 18.61 kB / 0.5234 GB, free: 120 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.463, allocations: 319.9 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.463, allocations: 17.55 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.4631, allocations: 35.67 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.4633, allocations: 50.55 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4633, allocations: 3.938 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.4635, allocations: 76.59 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4635, allocations: 5.375 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4635, allocations: 1.062 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4635, allocations: 0 / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.4636, allocations: 16.92 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4636, allocations: 1.141 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.4636, allocations: 9.891 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.4637, allocations: 13.08 kB / 0.5239 GB, free: 15.68 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 8.141e-05/0.4637, allocations: 118.7 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4638, allocations: 10.59 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.464, allocations: 84.92 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.464, allocations: 4 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.464, allocations: 1.953 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4641, allocations: 0 / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.4645, allocations: 351 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4645, allocations: 0 / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.4645, allocations: 12.59 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4645, allocations: 0 / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4646, allocations: 2.219 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4646, allocations: 7.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4646, allocations: 1.031 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.4648, allocations: 176.5 kB / 0.5246 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.4649, allocations: 83.41 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4649, allocations: 1.406 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.465, allocations: 9.172 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.465, allocations: 11.73 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.465, allocations: 2.5 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.4651, allocations: 103.7 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4651, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.4654, allocations: 19.73 kB / 0.5249 GB, free: 14.81 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.0009945/0.4664, allocations: 446.8 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.4666, allocations: 48.52 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4666, allocations: 0 / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.4667, allocations: 27.45 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.467, allocations: 13.64 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.4674, allocations: 163.9 kB / 0.5255 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4677, allocations: 0.691 MB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.617e-05/0.4677, allocations: 15.88 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.4678, allocations: 14.23 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4678, allocations: 1.25 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004888/0.4727, allocations: 1.361 MB / 0.5276 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches