Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001181, 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.0009821/0.0009821, 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.56/1.56, allocations: 222.9 MB / 242.4 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.2233/0.2233, allocations: 44.19 MB / 336.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 470.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4366, allocations: 60.81 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003024/0.4396, allocations: 1.584 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007837/0.4405, allocations: 428.2 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.4405, allocations: 0 / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.4408, allocations: 28.09 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.441, allocations: 34.84 kB / 0.5209 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.4413, allocations: 112.1 kB / 0.521 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4415, allocations: 62.08 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.4416, allocations: 17.45 kB / 0.5211 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.4417, allocations: 27.59 kB / 0.5211 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.4418, allocations: 24.38 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.4418, allocations: 3.062 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.4419, allocations: 50.84 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.442, allocations: 13.44 kB / 0.5212 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.442, allocations: 23.08 kB / 0.5212 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.4422, allocations: 98.06 kB / 0.5213 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.4423, allocations: 5.219 kB / 0.5213 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4423, allocations: 0 / 0.5213 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4423, allocations: 3.938 kB / 0.5213 GB, free: 1.98 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.0004255/0.4427, allocations: 379.2 kB / 0.5217 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4428, allocations: 9.188 kB / 0.5217 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.4428, allocations: 8.188 kB / 0.5217 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.443, allocations: 189.5 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.443, allocations: 1.594 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.443, allocations: 1.812 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.4432, allocations: 74.52 kB / 0.522 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4432, allocations: 1.094 kB / 0.522 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4432, allocations: 0 / 0.522 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4432, allocations: 1.281 kB / 0.522 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.4433, allocations: 23.27 kB / 0.522 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.4437, allocations: 294.1 kB / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4439, allocations: 51.75 kB / 0.5223 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.4439, allocations: 24.36 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.444, allocations: 3.984 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.444, allocations: 33.5 kB / 0.5224 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.444, allocations: 0 / 0.5224 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006163/0.4446, allocations: 177.4 kB / 0.5226 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4447, allocations: 79.05 kB / 0.5226 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4448, allocations: 137.1 kB / 0.5228 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.4448, allocations: 29.64 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.4448, allocations: 93.55 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.4449, allocations: 21.09 kB / 0.5229 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.4449, allocations: 25.2 kB / 0.5229 GB, free: 500 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.445, allocations: 323.8 kB / 0.5232 GB, free: 172 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.4451, allocations: 26.16 kB / 0.5233 GB, free: 168 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.4452, allocations: 44.34 kB / 0.5233 GB, free: 144 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4453, allocations: 75.09 kB / 0.5234 GB, free: 112 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4453, allocations: 4.031 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.4455, allocations: 104.7 kB / 0.5235 GB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4456, allocations: 5.5 kB / 0.5235 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4456, allocations: 0 / 0.5235 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4456, allocations: 1.094 kB / 0.5235 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4457, allocations: 16.84 kB / 0.5235 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4457, allocations: 5.531 kB / 0.5235 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.4458, allocations: 8.469 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4458, allocations: 11.09 kB / 0.5235 GB, free: 40 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 (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.0001098/0.4459, allocations: 119.6 kB / 0.5236 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.4459, allocations: 7.969 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.4462, allocations: 115.7 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4462, allocations: 1.094 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4462, allocations: 0.75 kB / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4462, allocations: 0 / 0.5238 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4467, allocations: 400.2 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4467, allocations: 0 / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.4468, allocations: 19.02 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4468, allocations: 1.219 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4468, allocations: 4.547 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4468, allocations: 1.156 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4468, allocations: 3.938 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.4471, allocations: 202.7 kB / 0.5244 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.4471, allocations: 80.38 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.4472, allocations: 4.641 kB / 0.5244 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.4472, allocations: 5.766 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.4473, allocations: 4.734 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.4473, allocations: 1.375 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.4474, allocations: 116 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4474, allocations: 4 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.4476, allocations: 23.47 kB / 0.5246 GB, free: 15.13 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 (7): * Single equations (assignments): 7 * 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.001007/0.4487, allocations: 440.1 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.4489, allocations: 79.78 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4489, allocations: 0 / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.449, allocations: 34.11 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4494, allocations: 25.42 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.4498, allocations: 184.1 kB / 0.5253 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4501, allocations: 0.6986 MB / 0.526 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.4502, allocations: 18.59 kB / 0.526 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.4502, allocations: 15.3 kB / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4502, allocations: 3.938 kB / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.00468/0.4549, allocations: 1.569 MB / 0.5276 GB, free: 13.55 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches