Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001185, allocations: 173.2 kB / 17.41 MB, free: 4.414 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.351/1.351, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.001001/0.001002, allocations: 93.23 kB / 295.1 MB, free: 9.484 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.3769/0.3769, allocations: 44.32 MB / 390.5 MB, free: 37.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 8 kB / 463.1 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3048, allocations: 61.9 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001707/0.3066, allocations: 1.262 MB / 0.514 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3079, allocations: 1.125 MB / 0.5151 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3079, allocations: 6.656 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3082, allocations: 25.48 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3083, allocations: 29.59 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.3085, allocations: 80.3 kB / 0.5152 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3087, allocations: 52.66 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3088, allocations: 12.56 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.3088, allocations: 23.86 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.309, allocations: 26.97 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.309, allocations: 0 / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.3091, allocations: 42.28 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.3091, allocations: 10.69 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.3092, allocations: 44.05 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.3093, allocations: 87.09 kB / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3094, allocations: 0 / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3094, allocations: 0 / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.3094, allocations: 0 / 0.5155 GB, free: 35.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003804/0.3098, allocations: 377.9 kB / 0.5158 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3098, allocations: 8.156 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3098, allocations: 7.625 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.31, allocations: 182.7 kB / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.31, allocations: 3.281 kB / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.31, allocations: 4.375 kB / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3102, allocations: 68.09 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3102, allocations: 0 / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3102, allocations: 2.688 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3102, allocations: 0 / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.3103, allocations: 30.03 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.3106, allocations: 279.5 kB / 0.5164 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3108, allocations: 46.84 kB / 0.5165 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.3109, allocations: 16.78 kB / 0.5165 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3109, allocations: 3.984 kB / 0.5165 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3109, allocations: 38.25 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3109, allocations: 4 kB / 0.5165 GB, free: 34.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005008/0.3114, allocations: 149.5 kB / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.3115, allocations: 85.05 kB / 0.5167 GB, free: 34.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.3116, allocations: 132.9 kB / 0.5169 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.3116, allocations: 28.7 kB / 0.5169 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.3117, allocations: 90.34 kB / 0.517 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.3117, allocations: 15.75 kB / 0.517 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.3117, allocations: 0 / 0.517 GB, free: 34.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.3117, allocations: 324.9 kB / 0.5173 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.3118, allocations: 26.06 kB / 0.5173 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.3119, allocations: 39.06 kB / 0.5174 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.312, allocations: 52.94 kB / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.312, allocations: 3 kB / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001495/0.3122, allocations: 94.62 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3122, allocations: 5.812 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3122, allocations: 0 / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3122, allocations: 0 / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.3123, allocations: 20.5 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3123, allocations: 0 / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.3124, allocations: 6.062 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3124, allocations: 3.188 kB / 0.5175 GB, free: 34.1 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 (5): * Single equations (assignments): 5 * 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 6.458e-05/0.3124, allocations: 122.4 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3125, allocations: 6.906 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3127, allocations: 103 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3127, allocations: 0.9375 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3127, allocations: 0 / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3127, allocations: 1 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3131, allocations: 355.4 kB / 0.5181 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3131, allocations: 1.531 kB / 0.5181 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.3131, allocations: 13.47 kB / 0.5181 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3131, allocations: 5.281 kB / 0.5181 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3132, allocations: 0.75 kB / 0.5181 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3132, allocations: 4.875 kB / 0.5181 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3132, allocations: 3.938 kB / 0.5181 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3134, allocations: 183.5 kB / 0.5183 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.3134, allocations: 90.64 kB / 0.5184 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3134, allocations: 0.7031 kB / 0.5184 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.3135, allocations: 11.75 kB / 0.5184 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3135, allocations: 7.375 kB / 0.5184 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3136, allocations: 6.25 kB / 0.5184 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.3136, allocations: 102.7 kB / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3136, allocations: 0 / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.3139, allocations: 24.31 kB / 0.5185 GB, free: 33.22 MB / 378.7 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 (5): * Single equations (assignments): 5 * 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.0009543/0.3148, allocations: 0.5051 MB / 0.519 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.315, allocations: 55.47 kB / 0.5191 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.315, allocations: 0 / 0.5191 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.3151, allocations: 32.34 kB / 0.5191 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3154, allocations: 14.34 kB / 0.5191 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.3157, allocations: 172.6 kB / 0.5193 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3159, allocations: 0.691 MB / 0.52 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.3159, allocations: 19.59 kB / 0.52 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.316, allocations: 19.34 kB / 0.52 GB, free: 32.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.316, allocations: 0 / 0.52 GB, free: 32.03 MB / 378.7 MB Notification: Performance of Templates: time 0.003396/0.3194, allocations: 1.292 MB / 0.5213 GB, free: 31.87 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches