Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008992/0.0008993, allocations: 177.2 kB / 17.41 MB, free: 4.285 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.444/1.444, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.00104/0.00104, allocations: 97.59 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.3665/0.3665, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 15.98 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00161/0.2954, allocations: 1.269 MB / 0.514 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2965, allocations: 1.124 MB / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.2965, allocations: 0 / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.2967, allocations: 30.33 kB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2969, allocations: 27.53 kB / 0.5151 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2971, allocations: 83.78 kB / 0.5152 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2972, allocations: 50.86 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.114e-05/0.2973, allocations: 8.594 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.2973, allocations: 27.11 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2974, allocations: 23.25 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2975, allocations: 0 / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.2976, allocations: 44.38 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.2976, allocations: 11.31 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2976, allocations: 45.69 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2978, allocations: 85.09 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2978, allocations: 4 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2978, allocations: 0 / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.2978, allocations: 0 / 0.5155 GB, free: 35.92 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.0003255/0.2981, allocations: 373.9 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2982, allocations: 10.72 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.2982, allocations: 7.562 kB / 0.5159 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2984, allocations: 182.9 kB / 0.516 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.2984, allocations: 384 / 0.516 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2984, allocations: 7.438 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.2985, allocations: 65.78 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2985, allocations: 3.031 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.2986, allocations: 0 / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2986, allocations: 3.938 kB / 0.5161 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.2987, allocations: 35.83 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.2989, allocations: 276 kB / 0.5164 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.2991, allocations: 42.56 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.2991, allocations: 20.73 kB / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2992, allocations: 0 / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.2992, allocations: 38.5 kB / 0.5165 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2992, allocations: 0 / 0.5165 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004543/0.2996, allocations: 151.2 kB / 0.5167 GB, free: 34.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2997, allocations: 85.05 kB / 0.5167 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.2998, allocations: 130.7 kB / 0.5169 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.2998, allocations: 29.7 kB / 0.5169 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.2998, allocations: 90.41 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2999, allocations: 18.66 kB / 0.517 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2999, allocations: 0 / 0.517 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.2999, allocations: 329 kB / 0.5173 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.3, allocations: 18.12 kB / 0.5173 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.3, allocations: 39.39 kB / 0.5174 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3002, allocations: 56.91 kB / 0.5174 GB, free: 34.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3002, allocations: 0 / 0.5174 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001468/0.3003, allocations: 87.72 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3003, allocations: 5.906 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3004, allocations: 3.562 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3004, allocations: 4 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.3004, allocations: 11.66 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3004, allocations: 0 / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.3005, allocations: 12.73 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3005, allocations: 3.984 kB / 0.5175 GB, free: 34.04 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 5.072e-05/0.3006, allocations: 119.1 kB / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3006, allocations: 10.67 kB / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.3008, allocations: 100.2 kB / 0.5178 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3008, allocations: 0 / 0.5178 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3008, allocations: 0.7969 kB / 0.5178 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3008, allocations: 0 / 0.5178 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.3011, allocations: 358.2 kB / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3012, allocations: 0 / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.3012, allocations: 19.2 kB / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3012, allocations: 0 / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3012, allocations: 1.281 kB / 0.5181 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3012, allocations: 3.938 kB / 0.5181 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3012, allocations: 10.45 kB / 0.5181 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.3014, allocations: 179.3 kB / 0.5183 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.3015, allocations: 93.73 kB / 0.5184 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3015, allocations: 5.125 kB / 0.5184 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.3016, allocations: 14.44 kB / 0.5184 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.3016, allocations: 4.625 kB / 0.5184 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3016, allocations: 1.812 kB / 0.5184 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.942e-05/0.3017, allocations: 102.4 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3017, allocations: 0 / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.3019, allocations: 24.58 kB / 0.5185 GB, free: 33.15 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.0008774/0.3028, allocations: 0.5017 MB / 0.519 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.303, allocations: 58.77 kB / 0.5191 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.303, allocations: 4 kB / 0.5191 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3031, allocations: 28.34 kB / 0.5191 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3034, allocations: 16.89 kB / 0.5191 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3037, allocations: 172.2 kB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3038, allocations: 0.6874 MB / 0.52 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.3039, allocations: 19.91 kB / 0.52 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3039, allocations: 14.8 kB / 0.52 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3039, allocations: 0 / 0.52 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.00351/0.3074, allocations: 1.301 MB / 0.5213 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches