Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 174 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 101.3 kB / 295.1 MB, free: 9.508 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.343/0.343, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004783, allocations: 8 kB / 463.1 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3047, allocations: 61.91 MB / 0.5127 GB, free: 38.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001619/0.3064, allocations: 1.31 MB / 0.514 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.307, allocations: 472.8 kB / 0.5145 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.3071, allocations: 0 / 0.5145 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3074, allocations: 92.81 kB / 0.5146 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.3075, allocations: 61.05 kB / 0.5146 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3077, allocations: 85.2 kB / 0.5147 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3079, allocations: 84.98 kB / 0.5148 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.308, allocations: 19.53 kB / 0.5148 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.308, allocations: 34.47 kB / 0.5148 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.3081, allocations: 57.55 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3082, allocations: 6.938 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.3082, allocations: 41.92 kB / 0.5149 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.3083, allocations: 27.08 kB / 0.515 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3084, allocations: 57.83 kB / 0.515 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3085, allocations: 117.3 kB / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3086, allocations: 0 / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3086, allocations: 0 / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3086, allocations: 0 / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003549/0.3089, allocations: 406.7 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.309, allocations: 14.11 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.309, allocations: 15.53 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3092, allocations: 208.4 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3092, allocations: 11.31 kB / 0.5158 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3092, allocations: 7.25 kB / 0.5158 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3094, allocations: 75.69 kB / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3094, allocations: 0 / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3094, allocations: 3.984 kB / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3094, allocations: 4 kB / 0.5158 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3095, allocations: 44.41 kB / 0.5159 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.3098, allocations: 329.3 kB / 0.5162 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.31, allocations: 68.55 kB / 0.5163 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.31, allocations: 23.81 kB / 0.5163 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3101, allocations: 0 / 0.5163 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.3101, allocations: 33.59 kB / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.3101, allocations: 0 / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008893/0.311, allocations: 347.9 kB / 0.5166 GB, free: 35.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.311, allocations: 51.41 kB / 0.5167 GB, free: 35.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3112, allocations: 225.4 kB / 0.5169 GB, free: 35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.3112, allocations: 25.7 kB / 0.5169 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.3112, allocations: 113.8 kB / 0.517 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3113, allocations: 47.67 kB / 0.5171 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3113, allocations: 5.094 kB / 0.5171 GB, free: 34.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.3114, allocations: 325.6 kB / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.3115, allocations: 42.83 kB / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.3115, allocations: 37.83 kB / 0.5175 GB, free: 34.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3117, allocations: 99.19 kB / 0.5176 GB, free: 34.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3117, allocations: 3.938 kB / 0.5176 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002206/0.312, allocations: 139.2 kB / 0.5177 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.312, allocations: 9.188 kB / 0.5177 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.312, allocations: 0 / 0.5177 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.312, allocations: 5.156 kB / 0.5177 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3121, allocations: 27 kB / 0.5178 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3121, allocations: 4.969 kB / 0.5178 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.3122, allocations: 6.578 kB / 0.5178 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3122, allocations: 3.953 kB / 0.5178 GB, free: 34.36 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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 7.544e-05/0.3123, allocations: 142.8 kB / 0.5179 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3123, allocations: 14.44 kB / 0.5179 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.3127, allocations: 161.8 kB / 0.5181 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3127, allocations: 5 kB / 0.5181 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3127, allocations: 1.953 kB / 0.5181 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3127, allocations: 4.656 kB / 0.5181 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.3132, allocations: 488.8 kB / 0.5185 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3132, allocations: 0 / 0.5185 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.3133, allocations: 31.02 kB / 0.5186 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3133, allocations: 1.125 kB / 0.5186 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3133, allocations: 3.094 kB / 0.5186 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3133, allocations: 1.094 kB / 0.5186 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3133, allocations: 0.5625 kB / 0.5186 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3136, allocations: 259.8 kB / 0.5188 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.3136, allocations: 90.66 kB / 0.5189 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3136, allocations: 4.969 kB / 0.5189 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.3137, allocations: 8.938 kB / 0.5189 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3138, allocations: 7.766 kB / 0.5189 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.3138, allocations: 9.25 kB / 0.5189 GB, free: 33.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.3139, allocations: 177.1 kB / 0.5191 GB, free: 33.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3139, allocations: 0 / 0.5191 GB, free: 33.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.3141, allocations: 25.64 kB / 0.5191 GB, free: 33.34 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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.000931/0.3151, allocations: 0.5149 MB / 0.5196 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3153, allocations: 104.5 kB / 0.5197 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3153, allocations: 0 / 0.5197 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3154, allocations: 64.22 kB / 0.5198 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.3158, allocations: 24.06 kB / 0.5198 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.3162, allocations: 349.9 kB / 0.5202 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3164, allocations: 0.7123 MB / 0.5209 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.772e-05/0.3164, allocations: 18.95 kB / 0.5209 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.3165, allocations: 21.8 kB / 0.5209 GB, free: 32.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3165, allocations: 0 / 0.5209 GB, free: 32.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003426/0.3199, allocations: 1.438 MB / 0.5223 GB, free: 31.85 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches