Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.00152/0.00152, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.54/1.54, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2365/0.2365, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 56.14 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4652, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003693/0.469, allocations: 1.577 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.4699, allocations: 414.4 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.103e-05/0.47, allocations: 5.188 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.4703, allocations: 24.08 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.4705, allocations: 35.39 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.4709, allocations: 96.83 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.4711, allocations: 64.08 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.4712, allocations: 13.16 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.4713, allocations: 31.89 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.4714, allocations: 24.14 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4714, allocations: 3.375 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.4716, allocations: 48.41 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.4717, allocations: 13.53 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.4717, allocations: 27.11 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.472, allocations: 96.31 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.472, allocations: 5.062 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.472, allocations: 0 / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.472, allocations: 0 / 0.5213 GB, free: 2.023 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004808/0.4725, allocations: 392.2 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4726, allocations: 9.406 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.4726, allocations: 8.766 kB / 0.5217 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.4728, allocations: 187.9 kB / 0.5219 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4728, allocations: 5.438 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.4729, allocations: 10.61 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.4731, allocations: 68.08 kB / 0.522 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4731, allocations: 5.578 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4731, allocations: 0 / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4731, allocations: 5.094 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4732, allocations: 26.19 kB / 0.522 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.4737, allocations: 294.8 kB / 0.5223 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.4738, allocations: 60.14 kB / 0.5223 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.4739, allocations: 28.67 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4739, allocations: 1.422 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4739, allocations: 37.64 kB / 0.5224 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.474, allocations: 0 / 0.5224 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006347/0.4746, allocations: 182.5 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4747, allocations: 79.12 kB / 0.5227 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4748, allocations: 145.5 kB / 0.5228 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.4748, allocations: 26.86 kB / 0.5228 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.4749, allocations: 93.75 kB / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.4749, allocations: 20.62 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.475, allocations: 29.91 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.475, allocations: 324 kB / 0.5233 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4751, allocations: 28.5 kB / 0.5233 GB, free: 168 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4753, allocations: 49.39 kB / 0.5233 GB, free: 140 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4754, allocations: 72.05 kB / 0.5234 GB, free: 112 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4754, allocations: 4.031 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002527/0.4757, allocations: 115.9 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4757, allocations: 4.406 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4757, allocations: 1.562 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4758, allocations: 0.75 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4759, allocations: 19.06 kB / 0.5236 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4759, allocations: 0 / 0.5236 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.4759, allocations: 5.703 kB / 0.5236 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.476, allocations: 7.031 kB / 0.5236 GB, free: 44 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 (9): * Single equations (assignments): 9 * 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.0001187/0.4761, allocations: 123.6 kB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.4761, allocations: 7.688 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.4764, allocations: 117.2 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4765, allocations: 1.938 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4765, allocations: 0 / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4765, allocations: 0.6562 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.4771, allocations: 398.1 kB / 0.5242 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4771, allocations: 0 / 0.5242 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.4772, allocations: 16.64 kB / 0.5242 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4772, allocations: 1.125 kB / 0.5242 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4772, allocations: 9.031 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4772, allocations: 0.6094 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4772, allocations: 1.594 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.4775, allocations: 203.4 kB / 0.5244 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.4776, allocations: 82.89 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4776, allocations: 9.766 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.4777, allocations: 9.547 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4778, allocations: 9.922 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4778, allocations: 1.375 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.4779, allocations: 111.8 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4779, allocations: 4 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000286/0.4782, allocations: 26.94 kB / 0.5246 GB, free: 15.12 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 (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.001072/0.4793, allocations: 454 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.4795, allocations: 81.06 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4796, allocations: 0 / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.4796, allocations: 35.95 kB / 0.5252 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.48, allocations: 13.84 kB / 0.5252 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.4804, allocations: 186.2 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4808, allocations: 0.7002 MB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.194e-05/0.4809, allocations: 20.66 kB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.4809, allocations: 15.47 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4809, allocations: 0 / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Templates: time 0.005312/0.4863, allocations: 1.574 MB / 0.5276 GB, free: 13.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches