Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001564, 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.001689/0.001689, allocations: 185 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.463/1.463, 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.2521/0.2521, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 67.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5092, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003905/0.5132, allocations: 1.584 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.5144, allocations: 410.8 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.5145, allocations: 1.156 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.515, allocations: 80.88 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.5154, allocations: 67.69 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.5161, allocations: 107.3 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.5164, allocations: 74.94 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.5166, allocations: 23.22 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.5167, allocations: 37.62 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.5169, allocations: 49.88 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.5169, allocations: 4.031 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.5171, allocations: 46.98 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.5171, allocations: 19.11 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.5172, allocations: 26.67 kB / 0.5214 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.5175, allocations: 100.3 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5175, allocations: 0 / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5175, allocations: 1.219 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.5175, allocations: 7.938 kB / 0.5215 GB, free: 1.984 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.0005081/0.518, allocations: 401.1 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5181, allocations: 9.562 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.5181, allocations: 9.766 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.5183, allocations: 197.8 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.5184, allocations: 1.938 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.5184, allocations: 7.438 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.5186, allocations: 56.89 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.5186, allocations: 4.516 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5187, allocations: 1.375 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5187, allocations: 0 / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.5188, allocations: 30.3 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.5194, allocations: 302 kB / 0.5225 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.5196, allocations: 51.89 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.5197, allocations: 16.2 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.5197, allocations: 1.156 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5197, allocations: 36.56 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.5197, allocations: 0 / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001236/0.521, allocations: 237.7 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.521, allocations: 52.62 kB / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.5213, allocations: 210.7 kB / 0.523 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.5214, allocations: 30.25 kB / 0.5231 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.5214, allocations: 112.4 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.5215, allocations: 21.34 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.5215, allocations: 25.56 kB / 0.5232 GB, free: 468 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.5216, allocations: 326 kB / 0.5235 GB, free: 140 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5217, allocations: 34.09 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.463e-05/0.5218, allocations: 30.67 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.522, allocations: 73.14 kB / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.522, allocations: 0 / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002681/0.5223, allocations: 120 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5223, allocations: 4.906 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5223, allocations: 2.312 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.5224, allocations: 0 / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5225, allocations: 21.59 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5225, allocations: 4.547 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.5226, allocations: 4.797 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.5226, allocations: 3.438 kB / 0.5238 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 (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.0001399/0.5227, allocations: 129.9 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.5228, allocations: 10.27 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.5231, allocations: 126.5 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5231, allocations: 1.062 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5231, allocations: 5.062 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5231, allocations: 0.7031 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.5238, allocations: 424.8 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.5238, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.5239, allocations: 21.27 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5239, allocations: 1.281 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.5239, allocations: 5.219 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5239, allocations: 1.281 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5239, allocations: 1.922 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.5243, allocations: 213.2 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.5243, allocations: 88.91 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.5244, allocations: 1.656 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.5244, allocations: 5.234 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.5245, allocations: 9.641 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.5245, allocations: 6.188 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.5247, allocations: 156.7 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5247, allocations: 4 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.525, allocations: 19.53 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001145/0.5262, allocations: 463.8 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.5265, allocations: 79.14 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5265, allocations: 0 / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.5266, allocations: 38.2 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.5269, allocations: 22.34 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.5275, allocations: 264.5 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.5279, allocations: 0.7127 MB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.064e-05/0.528, allocations: 20.17 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.528, allocations: 14.17 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 1.714e-06/0.5281, allocations: 1.781 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.004642/0.5327, allocations: 1.367 MB / 0.5279 GB, free: 13.5 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches