Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 113.4 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.001286/0.001286, allocations: 188.9 kB / 18.71 MB, free: 4.363 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.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2405/0.2405, 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: 68.08 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4607, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003567/0.4643, allocations: 1.675 MB / 0.5205 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.4652, allocations: 470.5 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.4653, allocations: 1.031 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.4656, allocations: 29.06 kB / 0.521 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.4658, allocations: 40.09 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.4662, allocations: 185.7 kB / 0.5212 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.4664, allocations: 92.66 kB / 0.5213 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.4665, allocations: 19.84 kB / 0.5213 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.4666, allocations: 38.7 kB / 0.5214 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.4667, allocations: 38.88 kB / 0.5214 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.4667, allocations: 5.562 kB / 0.5214 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.4669, allocations: 54.62 kB / 0.5215 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.467, allocations: 22.52 kB / 0.5215 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.467, allocations: 33.98 kB / 0.5215 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.4673, allocations: 127 kB / 0.5217 GB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4673, allocations: 0 / 0.5217 GB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4673, allocations: 0 / 0.5217 GB, free: 1.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.4673, allocations: 5.312 kB / 0.5217 GB, free: 1.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005912/0.4679, allocations: 409.8 kB / 0.5221 GB, free: 1.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.468, allocations: 8.938 kB / 0.5221 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.468, allocations: 9.062 kB / 0.5221 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.4682, allocations: 190.2 kB / 0.5222 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4682, allocations: 2.625 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.4683, allocations: 2.656 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.4686, allocations: 104.5 kB / 0.5224 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4686, allocations: 4.609 kB / 0.5224 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4686, allocations: 0 / 0.5224 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4686, allocations: 1.125 kB / 0.5224 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.4689, allocations: 78.47 kB / 0.5224 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.4695, allocations: 338 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.4698, allocations: 77.78 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.4699, allocations: 48.52 kB / 0.5229 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.47, allocations: 5.094 kB / 0.5229 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.47, allocations: 32.36 kB / 0.5229 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.47, allocations: 1.219 kB / 0.5229 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001643/0.4717, allocations: 413.1 kB / 0.5233 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.4717, allocations: 82.52 kB / 0.5234 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.4719, allocations: 146.1 kB / 0.5235 GB, free: 408 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4719, allocations: 26.73 kB / 0.5236 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.472, allocations: 97.92 kB / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.472, allocations: 30.02 kB / 0.5237 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.4721, allocations: 27.89 kB / 0.5237 GB, free: 232 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4722, allocations: 325.4 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.4725, allocations: 75.39 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.4729, allocations: 99.77 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.4734, allocations: 169.2 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4734, allocations: 2.297 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006563/0.4741, allocations: 208.4 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4741, allocations: 8.688 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4742, allocations: 0 / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4742, allocations: 6.328 kB / 0.5246 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.4744, allocations: 39.98 kB / 0.5246 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.4744, allocations: 2.531 kB / 0.5246 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.4746, allocations: 29.17 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4746, allocations: 2.531 kB / 0.5246 GB, free: 15.73 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 (10): * Single equations (assignments): 10 * 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.0001254/0.4747, allocations: 122.2 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.4748, allocations: 13.92 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/0.4755, allocations: 219.3 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4755, allocations: 2.625 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4755, allocations: 0 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4755, allocations: 8.547 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4766, allocations: 0.5127 MB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4766, allocations: 4 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4768, allocations: 36 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.4768, allocations: 5.312 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4769, allocations: 4 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4769, allocations: 1.984 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4769, allocations: 0 / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.4776, allocations: 299 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.4776, allocations: 87.17 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.4777, allocations: 1.812 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4778, allocations: 31.81 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.4779, allocations: 8.766 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4779, allocations: 6 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.478, allocations: 110.6 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.478, allocations: 0 / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.4784, allocations: 31.25 kB / 0.5261 GB, free: 14.75 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 (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 Backend phase and start with SimCode phase: time 0.001252/0.4796, allocations: 453.1 kB / 0.5265 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.4804, allocations: 181.6 kB / 0.5267 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4804, allocations: 0 / 0.5267 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.4807, allocations: 90.42 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.481, allocations: 25.62 kB / 0.5268 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.4816, allocations: 248 kB / 0.527 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.4819, allocations: 0.7053 MB / 0.5277 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.4821, allocations: 28.47 kB / 0.5277 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.4821, allocations: 19.02 kB / 0.5278 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 1.984e-06/0.4821, allocations: 0 / 0.5278 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.006676/0.4888, allocations: 2.217 MB / 0.5299 GB, free: 12.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches