Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 178.5 kB / 17.41 MB, free: 4.289 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.43 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.0009909/0.000991, allocations: 88.33 kB / 295 MB, free: 9.477 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.355/0.355, allocations: 44.31 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 11.94 kB / 463.1 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.311, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001755/0.3128, allocations: 1.285 MB / 0.514 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000706/0.3136, allocations: 469.8 kB / 0.5144 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.3136, allocations: 0 / 0.5144 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.3139, allocations: 75.7 kB / 0.5145 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.3141, allocations: 59.5 kB / 0.5146 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.3144, allocations: 102.7 kB / 0.5147 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.3146, allocations: 71.47 kB / 0.5147 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3147, allocations: 14.5 kB / 0.5147 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.3147, allocations: 34.86 kB / 0.5148 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.3148, allocations: 46.67 kB / 0.5148 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3149, allocations: 0 / 0.5148 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.315, allocations: 42.92 kB / 0.5149 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.315, allocations: 16.45 kB / 0.5149 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.3151, allocations: 53.22 kB / 0.5149 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3153, allocations: 101 kB / 0.515 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3153, allocations: 0 / 0.515 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3153, allocations: 0 / 0.515 GB, free: 36.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3153, allocations: 0 / 0.515 GB, free: 36.51 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.0004208/0.3157, allocations: 402.1 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3158, allocations: 7.688 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3158, allocations: 14.91 kB / 0.5154 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.316, allocations: 199.5 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.316, allocations: 7.109 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.316, allocations: 3.156 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3162, allocations: 62.83 kB / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3162, allocations: 7.281 kB / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3162, allocations: 0 / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3162, allocations: 0 / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.3163, allocations: 34.84 kB / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3167, allocations: 296.1 kB / 0.516 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.3168, allocations: 53.42 kB / 0.5161 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3169, allocations: 20.86 kB / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3169, allocations: 2.969 kB / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3169, allocations: 30.56 kB / 0.5161 GB, free: 35.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3169, allocations: 0 / 0.5161 GB, free: 35.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008795/0.3178, allocations: 269.7 kB / 0.5164 GB, free: 35.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3179, allocations: 55.77 kB / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3181, allocations: 212.9 kB / 0.5166 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3181, allocations: 25.7 kB / 0.5167 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.3181, allocations: 102 kB / 0.5168 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3181, allocations: 29.86 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.3182, allocations: 7.031 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.3182, allocations: 321.3 kB / 0.5171 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.3183, allocations: 33.33 kB / 0.5171 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.3184, allocations: 36.3 kB / 0.5172 GB, free: 34.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3185, allocations: 83.78 kB / 0.5172 GB, free: 34.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3185, allocations: 0 / 0.5172 GB, free: 34.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001872/0.3187, allocations: 122.7 kB / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3188, allocations: 5.312 kB / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3188, allocations: 0 / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3188, allocations: 0 / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.3189, allocations: 19.88 kB / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3189, allocations: 11.81 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.3189, allocations: 8.844 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.319, allocations: 2.969 kB / 0.5174 GB, free: 34.55 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 6.172e-05/0.319, allocations: 130 kB / 0.5175 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3191, allocations: 13.62 kB / 0.5175 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3193, allocations: 133.5 kB / 0.5177 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3193, allocations: 0 / 0.5177 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3193, allocations: 3.938 kB / 0.5177 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3193, allocations: 4 kB / 0.5177 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.3197, allocations: 423.5 kB / 0.5181 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3198, allocations: 3.938 kB / 0.5181 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.369e-05/0.3198, allocations: 35.31 kB / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3198, allocations: 0 / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3198, allocations: 2.719 kB / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3199, allocations: 0 / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3199, allocations: 480 / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3201, allocations: 230.1 kB / 0.5183 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3201, allocations: 90.88 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3201, allocations: 0 / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.3202, allocations: 9.406 kB / 0.5184 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.3202, allocations: 12.86 kB / 0.5185 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3203, allocations: 0 / 0.5185 GB, free: 33.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3204, allocations: 163 kB / 0.5186 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3204, allocations: 1.062 kB / 0.5186 GB, free: 33.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.3206, allocations: 18.28 kB / 0.5186 GB, free: 33.59 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.001011/0.3217, allocations: 0.5047 MB / 0.5191 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3219, allocations: 77.7 kB / 0.5192 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3219, allocations: 5.031 kB / 0.5192 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.322, allocations: 41.25 kB / 0.5192 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3224, allocations: 30.77 kB / 0.5193 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.3228, allocations: 284.7 kB / 0.5195 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.323, allocations: 0.7088 MB / 0.5202 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.323, allocations: 20.41 kB / 0.5202 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.3231, allocations: 15.25 kB / 0.5203 GB, free: 32.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3231, allocations: 0 / 0.5203 GB, free: 32.32 MB / 378.7 MB Notification: Performance of Templates: time 0.003343/0.3264, allocations: 1.289 MB / 0.5215 GB, free: 32.16 MB / 378.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches