Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.9 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.324/1.324, allocations: 225.7 MB / 243.9 MB, free: 8.477 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.0007305/0.0007305, allocations: 89.89 kB / 295.1 MB, free: 9.52 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.3645/0.3645, allocations: 44.31 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002908, allocations: 11.94 kB / 463.1 MB, free: 0.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3141, allocations: 61.91 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001516/0.3157, allocations: 1.283 MB / 0.514 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00061/0.3163, allocations: 458.6 kB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.3164, allocations: 3.938 kB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.3167, allocations: 76 kB / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.3168, allocations: 49.95 kB / 0.5146 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.317, allocations: 82.69 kB / 0.5146 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3172, allocations: 67.98 kB / 0.5147 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.3173, allocations: 26.23 kB / 0.5147 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.3173, allocations: 23.66 kB / 0.5147 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.3174, allocations: 53 kB / 0.5148 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3174, allocations: 3.219 kB / 0.5148 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.3175, allocations: 41.42 kB / 0.5148 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.3176, allocations: 20.22 kB / 0.5149 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.3176, allocations: 48.14 kB / 0.5149 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3178, allocations: 99.97 kB / 0.515 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3178, allocations: 0 / 0.515 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3178, allocations: 0 / 0.515 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3178, allocations: 3.938 kB / 0.515 GB, free: 36.43 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.0003558/0.3182, allocations: 396.9 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3182, allocations: 8.906 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3182, allocations: 8.781 kB / 0.5154 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3184, allocations: 198.8 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3184, allocations: 4.375 kB / 0.5156 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3184, allocations: 2.812 kB / 0.5156 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3186, allocations: 59.05 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3186, allocations: 4 kB / 0.5157 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3186, allocations: 4 kB / 0.5157 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3186, allocations: 2.531 kB / 0.5157 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.3187, allocations: 37.55 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.319, allocations: 293.4 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.3191, allocations: 52.56 kB / 0.516 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.3191, allocations: 17.06 kB / 0.516 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3191, allocations: 0 / 0.516 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3192, allocations: 30.56 kB / 0.5161 GB, free: 35.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3192, allocations: 0 / 0.5161 GB, free: 35.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007784/0.32, allocations: 249.9 kB / 0.5163 GB, free: 35.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.32, allocations: 54.31 kB / 0.5164 GB, free: 35.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3202, allocations: 212.9 kB / 0.5166 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.3202, allocations: 25.7 kB / 0.5166 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3202, allocations: 101.2 kB / 0.5167 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3202, allocations: 37.75 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.3203, allocations: 4 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.3203, allocations: 321 kB / 0.517 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.3204, allocations: 24.78 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.3205, allocations: 28.12 kB / 0.5171 GB, free: 34.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3206, allocations: 75.86 kB / 0.5172 GB, free: 34.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3206, allocations: 0 / 0.5172 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000186/0.3208, allocations: 101.3 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3208, allocations: 8.688 kB / 0.5173 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3208, allocations: 0 / 0.5173 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3209, allocations: 1.797 kB / 0.5173 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.321, allocations: 18.41 kB / 0.5173 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.321, allocations: 5.469 kB / 0.5173 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.321, allocations: 14.98 kB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.321, allocations: 2.781 kB / 0.5173 GB, free: 34.5 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.177e-05/0.3211, allocations: 131.2 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.3211, allocations: 12.47 kB / 0.5174 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3214, allocations: 135.4 kB / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3214, allocations: 2.719 kB / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3214, allocations: 5.094 kB / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3214, allocations: 0 / 0.5176 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.3219, allocations: 402.8 kB / 0.518 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3219, allocations: 0.9688 kB / 0.518 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/0.322, allocations: 26.45 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.322, allocations: 5.062 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.322, allocations: 2.766 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.322, allocations: 1 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.322, allocations: 0 / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3222, allocations: 219.3 kB / 0.5182 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.3223, allocations: 89.2 kB / 0.5183 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3223, allocations: 3.469 kB / 0.5183 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.3224, allocations: 10.75 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3224, allocations: 9.641 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3225, allocations: 3.062 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3226, allocations: 157.7 kB / 0.5185 GB, free: 33.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3226, allocations: 7.938 kB / 0.5185 GB, free: 33.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.3228, allocations: 21.16 kB / 0.5185 GB, free: 33.54 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.0009256/0.3237, allocations: 0.5064 MB / 0.519 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3239, allocations: 73.53 kB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.324, allocations: 0 / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.3241, allocations: 43.3 kB / 0.5191 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3244, allocations: 25.89 kB / 0.5191 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.3249, allocations: 267.5 kB / 0.5194 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.3251, allocations: 0.7091 MB / 0.5201 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.144e-05/0.3252, allocations: 7.078 kB / 0.5201 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.3252, allocations: 15.89 kB / 0.5201 GB, free: 32.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3252, allocations: 0 / 0.5201 GB, free: 32.29 MB / 378.7 MB Notification: Performance of Templates: time 0.003409/0.3286, allocations: 1.269 MB / 0.5213 GB, free: 32.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches