Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 178 kB / 17.41 MB, free: 4.41 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.355/1.355, 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.0007892/0.0007895, allocations: 93.27 kB / 295 MB, free: 9.473 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.326/0.326, allocations: 44.33 MB / 390.5 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 16 kB / 463.1 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3124, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001575/0.3141, allocations: 1.282 MB / 0.514 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.3147, allocations: 464.3 kB / 0.5144 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.3147, allocations: 0 / 0.5144 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.315, allocations: 104.3 kB / 0.5145 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.3151, allocations: 61.95 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3154, allocations: 106 kB / 0.5147 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3156, allocations: 73.25 kB / 0.5148 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.3157, allocations: 17.14 kB / 0.5148 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.3157, allocations: 29.36 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.3158, allocations: 52.27 kB / 0.5149 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3158, allocations: 0 / 0.5149 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.3159, allocations: 37.06 kB / 0.5149 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.316, allocations: 21.22 kB / 0.5149 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.316, allocations: 51.55 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3162, allocations: 109.5 kB / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3162, allocations: 0 / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3162, allocations: 0 / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3162, allocations: 0 / 0.5151 GB, free: 36.36 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.000395/0.3166, allocations: 400.2 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3166, allocations: 11.81 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3167, allocations: 11.75 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3168, allocations: 200.9 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3169, allocations: 384 / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.3169, allocations: 3.625 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.317, allocations: 63.3 kB / 0.5157 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3171, allocations: 0 / 0.5157 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3171, allocations: 8 kB / 0.5157 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3171, allocations: 2.969 kB / 0.5157 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.3172, allocations: 28.98 kB / 0.5158 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.3176, allocations: 306.8 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.3177, allocations: 50.72 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.3177, allocations: 26.98 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3178, allocations: 0 / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3178, allocations: 34.05 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3178, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008501/0.3187, allocations: 263.3 kB / 0.5164 GB, free: 35.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3187, allocations: 53.44 kB / 0.5165 GB, free: 35.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3189, allocations: 228.8 kB / 0.5167 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.3189, allocations: 25.7 kB / 0.5167 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.319, allocations: 109.9 kB / 0.5168 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.319, allocations: 29.92 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.319, allocations: 1.25 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.3191, allocations: 321.8 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.3192, allocations: 33.52 kB / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.3192, allocations: 43.2 kB / 0.5172 GB, free: 34.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3194, allocations: 88.61 kB / 0.5173 GB, free: 34.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.3194, allocations: 0 / 0.5173 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001792/0.3196, allocations: 117.8 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3196, allocations: 9.781 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3196, allocations: 0 / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3196, allocations: 432 / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.3197, allocations: 20.61 kB / 0.5175 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3197, allocations: 6.984 kB / 0.5175 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.3198, allocations: 13.88 kB / 0.5175 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.3198, allocations: 0 / 0.5175 GB, free: 34.39 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.488e-05/0.3199, allocations: 131.8 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.3199, allocations: 9.438 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3202, allocations: 140.4 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3202, allocations: 0 / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3202, allocations: 3.938 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3202, allocations: 2.938 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3206, allocations: 430.2 kB / 0.5182 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3206, allocations: 3.938 kB / 0.5182 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.5e-05/0.3207, allocations: 27.34 kB / 0.5182 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3207, allocations: 4.031 kB / 0.5182 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3207, allocations: 6.625 kB / 0.5182 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3207, allocations: 0 / 0.5182 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3207, allocations: 0 / 0.5182 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3209, allocations: 220.5 kB / 0.5184 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.321, allocations: 94.88 kB / 0.5185 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.321, allocations: 6.438 kB / 0.5185 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.3211, allocations: 7.859 kB / 0.5185 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3211, allocations: 11.41 kB / 0.5185 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3211, allocations: 2.25 kB / 0.5185 GB, free: 33.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3213, allocations: 167.6 kB / 0.5187 GB, free: 33.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3213, allocations: 5.656 kB / 0.5187 GB, free: 33.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.3215, allocations: 24.58 kB / 0.5187 GB, free: 33.43 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.0009766/0.3225, allocations: 0.5139 MB / 0.5192 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3227, allocations: 75.72 kB / 0.5193 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3227, allocations: 0 / 0.5193 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3228, allocations: 50.31 kB / 0.5193 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3231, allocations: 26.2 kB / 0.5194 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.3236, allocations: 302.8 kB / 0.5197 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.3237, allocations: 0.7155 MB / 0.5203 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.839e-05/0.3238, allocations: 20.95 kB / 0.5204 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.3238, allocations: 17.66 kB / 0.5204 GB, free: 32.14 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3238, allocations: 4.812 kB / 0.5204 GB, free: 32.14 MB / 378.7 MB Notification: Performance of Templates: time 0.003078/0.3269, allocations: 1.291 MB / 0.5217 GB, free: 31.98 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches