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.001276/0.001276, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001429/0.001429, allocations: 185 kB / 18.72 MB, free: 4.332 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.258/1.258, 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.1898/0.1898, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3246, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002658/0.3273, allocations: 1.569 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.328, allocations: 420.1 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.3281, allocations: 5.031 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.3283, allocations: 24.31 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.3285, allocations: 33.61 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3287, allocations: 94.3 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3289, allocations: 58.92 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.3289, allocations: 9.484 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.329, allocations: 35.95 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.3291, allocations: 20 kB / 0.5211 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3291, allocations: 8.625 kB / 0.5211 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3292, allocations: 55.66 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.3293, allocations: 14.78 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.3293, allocations: 17.36 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3295, allocations: 108.7 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3295, allocations: 1.125 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3295, allocations: 0 / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3295, allocations: 0 / 0.5213 GB, free: 2.012 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.0004062/0.3299, allocations: 386.5 kB / 0.5217 GB, free: 1.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.33, allocations: 17.28 kB / 0.5217 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.33, allocations: 9.219 kB / 0.5217 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3302, allocations: 186.9 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3302, allocations: 6.906 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3303, allocations: 5.781 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3304, allocations: 76.33 kB / 0.522 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3305, allocations: 0.7969 kB / 0.522 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3305, allocations: 1.25 kB / 0.522 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3305, allocations: 5.312 kB / 0.522 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3306, allocations: 25.86 kB / 0.522 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.331, allocations: 289.6 kB / 0.5223 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3311, allocations: 61.34 kB / 0.5223 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.3312, allocations: 24.31 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3312, allocations: 5.859 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3312, allocations: 36.55 kB / 0.5224 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3313, allocations: 0 / 0.5224 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006189/0.3319, allocations: 179.6 kB / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.3319, allocations: 79.05 kB / 0.5227 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.332, allocations: 152.3 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.3321, allocations: 26.7 kB / 0.5228 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.3321, allocations: 92.25 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3321, allocations: 34.52 kB / 0.5229 GB, free: 500 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3322, allocations: 21.8 kB / 0.523 GB, free: 480 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.3322, allocations: 324.5 kB / 0.5233 GB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.3323, allocations: 27.09 kB / 0.5233 GB, free: 148 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.3324, allocations: 53.7 kB / 0.5233 GB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3325, allocations: 71.89 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3325, allocations: 0 / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002127/0.3328, allocations: 116.1 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3328, allocations: 9 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3328, allocations: 0 / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3328, allocations: 0 / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3329, allocations: 23.19 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3329, allocations: 1.062 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.333, allocations: 8.859 kB / 0.5236 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-06/0.333, allocations: 6.156 kB / 0.5236 GB, free: 16 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 9.467e-05/0.3331, allocations: 120 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.3331, allocations: 9.156 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3334, allocations: 121.7 kB / 0.5238 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3334, allocations: 0 / 0.5238 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3334, allocations: 2.062 kB / 0.5238 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3334, allocations: 0 / 0.5238 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3339, allocations: 392.8 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3339, allocations: 2.312 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.334, allocations: 20.23 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.334, allocations: 0 / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.334, allocations: 13.94 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.334, allocations: 1.219 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.334, allocations: 0 / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3343, allocations: 199.1 kB / 0.5244 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.3343, allocations: 79.5 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3343, allocations: 5.781 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.3344, allocations: 14.12 kB / 0.5245 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3345, allocations: 3.938 kB / 0.5245 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.3345, allocations: 2.75 kB / 0.5245 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.3345, allocations: 107 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3346, allocations: 1.125 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3348, allocations: 35.75 kB / 0.5247 GB, free: 15.1 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.0009502/0.3358, allocations: 460.7 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.336, allocations: 71.02 kB / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.336, allocations: 1.375 kB / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.3361, allocations: 35.16 kB / 0.5252 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3364, allocations: 25.95 kB / 0.5252 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.3368, allocations: 183 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.337, allocations: 0.6967 MB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.3371, allocations: 21.67 kB / 0.5261 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3372, allocations: 19.8 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3372, allocations: 4 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004132/0.3413, allocations: 1.571 MB / 0.5277 GB, free: 13.53 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