Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001267, allocations: 173.2 kB / 17.4 MB, free: 4.391 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.341/1.341, allocations: 225.7 MB / 243.9 MB, free: 10.21 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.0008334/0.0008333, allocations: 94 kB / 295.1 MB, free: 9.742 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.3258/0.3258, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 15.98 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3093, allocations: 61.89 MB / 0.5127 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002456/0.3118, allocations: 1.287 MB / 0.514 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009435/0.3128, allocations: 461.1 kB / 0.5144 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.3129, allocations: 0 / 0.5144 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.3133, allocations: 126 kB / 0.5145 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.3135, allocations: 77.64 kB / 0.5146 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3137, allocations: 82.34 kB / 0.5147 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3139, allocations: 89.73 kB / 0.5148 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.314, allocations: 17.48 kB / 0.5148 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.3141, allocations: 38.61 kB / 0.5148 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3142, allocations: 72.12 kB / 0.5149 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3142, allocations: 0 / 0.5149 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.3143, allocations: 42.17 kB / 0.5149 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.3143, allocations: 34.61 kB / 0.515 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.3144, allocations: 63.3 kB / 0.515 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3145, allocations: 104.6 kB / 0.5151 GB, free: 36.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3146, allocations: 3.281 kB / 0.5151 GB, free: 36.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3146, allocations: 0 / 0.5151 GB, free: 36.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3146, allocations: 0 / 0.5151 GB, free: 36.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004365/0.315, allocations: 413.1 kB / 0.5155 GB, free: 36.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3151, allocations: 8.812 kB / 0.5155 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3151, allocations: 18.22 kB / 0.5156 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3153, allocations: 208.3 kB / 0.5158 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3153, allocations: 4.312 kB / 0.5158 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3154, allocations: 3.25 kB / 0.5158 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3155, allocations: 62.7 kB / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3156, allocations: 0 / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3156, allocations: 2.781 kB / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3156, allocations: 0 / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.3157, allocations: 34.11 kB / 0.5159 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.3162, allocations: 293.4 kB / 0.5161 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3163, allocations: 48.92 kB / 0.5162 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.3163, allocations: 20.94 kB / 0.5162 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3164, allocations: 0 / 0.5162 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3164, allocations: 34.52 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3164, allocations: 3.984 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008219/0.3172, allocations: 264.2 kB / 0.5165 GB, free: 35.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.3173, allocations: 51.41 kB / 0.5166 GB, free: 35.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3175, allocations: 275.9 kB / 0.5168 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.3175, allocations: 25.7 kB / 0.5168 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3176, allocations: 110.7 kB / 0.5169 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3176, allocations: 27.03 kB / 0.517 GB, free: 35.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.3176, allocations: 7.938 kB / 0.517 GB, free: 35.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.3177, allocations: 325.6 kB / 0.5173 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.3178, allocations: 37.45 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.3179, allocations: 27.22 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.318, allocations: 68.34 kB / 0.5174 GB, free: 34.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.318, allocations: 0 / 0.5174 GB, free: 34.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001786/0.3182, allocations: 114.3 kB / 0.5175 GB, free: 34.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3182, allocations: 9.203 kB / 0.5175 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3182, allocations: 0 / 0.5175 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3182, allocations: 0 / 0.5175 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.3184, allocations: 25.86 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.3184, allocations: 6.688 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.3184, allocations: 2.812 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3184, allocations: 3.125 kB / 0.5176 GB, free: 34.61 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 (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 7.347e-05/0.3185, allocations: 134.6 kB / 0.5177 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3185, allocations: 17 kB / 0.5177 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.3188, allocations: 126.5 kB / 0.5178 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3188, allocations: 2.719 kB / 0.5178 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3188, allocations: 7.938 kB / 0.5178 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3188, allocations: 3.328 kB / 0.5178 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.3192, allocations: 424.3 kB / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3192, allocations: 0 / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.3193, allocations: 26.11 kB / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3193, allocations: 3.938 kB / 0.5183 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3193, allocations: 2.844 kB / 0.5183 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3193, allocations: 0 / 0.5183 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3193, allocations: 32 / 0.5183 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3195, allocations: 209.4 kB / 0.5185 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.3196, allocations: 97.78 kB / 0.5186 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3196, allocations: 3.938 kB / 0.5186 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.3197, allocations: 13.05 kB / 0.5186 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3197, allocations: 2.406 kB / 0.5186 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3197, allocations: 5.906 kB / 0.5186 GB, free: 33.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3199, allocations: 200.6 kB / 0.5188 GB, free: 33.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.3199, allocations: 0 / 0.5188 GB, free: 33.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.3201, allocations: 22.22 kB / 0.5188 GB, free: 33.65 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 (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.001032/0.3211, allocations: 0.5129 MB / 0.5193 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3214, allocations: 75.16 kB / 0.5194 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3214, allocations: 0 / 0.5194 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.3215, allocations: 40.31 kB / 0.5194 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3218, allocations: 22.7 kB / 0.5194 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.3224, allocations: 336.8 kB / 0.5198 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3226, allocations: 0.7168 MB / 0.5205 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.3227, allocations: 13.47 kB / 0.5205 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.3227, allocations: 14.14 kB / 0.5205 GB, free: 32.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3227, allocations: 0 / 0.5205 GB, free: 32.36 MB / 378.7 MB Notification: Performance of Templates: time 0.003493/0.3262, allocations: 1.28 MB / 0.5217 GB, free: 32.2 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches