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.00152/0.00152, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001463/0.001463, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.484/1.484, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2519/0.2519, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.84 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4165, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003863/0.4204, allocations: 1.573 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009284/0.4214, allocations: 435.6 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.4215, allocations: 1.438 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.4218, allocations: 19.8 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.422, allocations: 34.77 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.4224, allocations: 112.6 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4225, allocations: 60.78 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4227, allocations: 12.86 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.4227, allocations: 32.11 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.4228, allocations: 24.05 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.4229, allocations: 3.625 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.423, allocations: 51.86 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.4231, allocations: 13.41 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.4231, allocations: 22.19 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.4234, allocations: 94.17 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4234, allocations: 3.938 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4234, allocations: 4.656 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4234, allocations: 5.094 kB / 0.5213 GB, free: 2.004 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.0004772/0.4239, allocations: 375.8 kB / 0.5217 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4239, allocations: 12.38 kB / 0.5217 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.424, allocations: 9.109 kB / 0.5217 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.4242, allocations: 184.3 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4242, allocations: 1.562 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.4242, allocations: 2.656 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4244, allocations: 74.78 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4244, allocations: 1.094 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4244, allocations: 0 / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4244, allocations: 1 kB / 0.522 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4245, allocations: 23.08 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.425, allocations: 294.3 kB / 0.5223 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.4251, allocations: 55.64 kB / 0.5223 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.4252, allocations: 23.42 kB / 0.5224 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.4252, allocations: 1.828 kB / 0.5224 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4252, allocations: 32.64 kB / 0.5224 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4252, allocations: 0 / 0.5224 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000643/0.4259, allocations: 177.4 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4259, allocations: 79.28 kB / 0.5226 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4261, allocations: 140 kB / 0.5228 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4261, allocations: 30.86 kB / 0.5228 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.4261, allocations: 92.08 kB / 0.5229 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.4262, allocations: 20.88 kB / 0.5229 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.4262, allocations: 26.16 kB / 0.5229 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.4263, allocations: 323.5 kB / 0.5232 GB, free: 196 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.4264, allocations: 26.12 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-05/0.4265, allocations: 44.75 kB / 0.5233 GB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4267, allocations: 75.09 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4267, allocations: 0 / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.4269, allocations: 111.7 kB / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4269, allocations: 6.219 kB / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4269, allocations: 0 / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.427, allocations: 1.062 kB / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4271, allocations: 18.09 kB / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4271, allocations: 0 / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.4271, allocations: 10.22 kB / 0.5235 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4272, allocations: 5 kB / 0.5235 GB, free: 68 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.0001316/0.4273, allocations: 124.3 kB / 0.5236 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.4274, allocations: 7.844 kB / 0.5236 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.4277, allocations: 110.8 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4277, allocations: 3.422 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4277, allocations: 0 / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4277, allocations: 0.5625 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.4282, allocations: 402 kB / 0.5241 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4283, allocations: 6.125 kB / 0.5241 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.4283, allocations: 14.67 kB / 0.5242 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4283, allocations: 0 / 0.5242 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4283, allocations: 9 kB / 0.5242 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4284, allocations: 1.781 kB / 0.5242 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4284, allocations: 0 / 0.5242 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4286, allocations: 205.7 kB / 0.5244 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.4287, allocations: 80.58 kB / 0.5244 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4287, allocations: 4.688 kB / 0.5244 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.4288, allocations: 6.344 kB / 0.5245 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.4288, allocations: 5.031 kB / 0.5245 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.4289, allocations: 5.344 kB / 0.5245 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.367e-05/0.429, allocations: 107.9 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.429, allocations: 0 / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4292, allocations: 26.88 kB / 0.5246 GB, free: 15.15 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.001126/0.4304, allocations: 445.1 kB / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.4307, allocations: 77.42 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4307, allocations: 1.188 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.4308, allocations: 33.97 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.4312, allocations: 18.73 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.4317, allocations: 183.3 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.4321, allocations: 0.6982 MB / 0.526 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.4322, allocations: 19.8 kB / 0.526 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.4323, allocations: 16.08 kB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4323, allocations: 3.938 kB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Templates: time 0.006939/0.4393, allocations: 1.581 MB / 0.5276 GB, free: 13.59 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