Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 177.8 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.368/1.368, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.0008117/0.0008117, allocations: 89.05 kB / 295 MB, free: 9.703 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.3221/0.3221, allocations: 44.32 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004563, allocations: 8 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3513, allocations: 61.89 MB / 0.5127 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001446/0.3528, allocations: 1.288 MB / 0.514 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000566/0.3534, allocations: 458.9 kB / 0.5144 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.3534, allocations: 0 / 0.5144 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3536, allocations: 75.88 kB / 0.5145 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3538, allocations: 50.44 kB / 0.5146 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.354, allocations: 82.53 kB / 0.5146 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3541, allocations: 71.73 kB / 0.5147 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3542, allocations: 24.8 kB / 0.5147 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.3543, allocations: 24.86 kB / 0.5147 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.3543, allocations: 49.55 kB / 0.5148 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3544, allocations: 2.969 kB / 0.5148 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.3544, allocations: 36.61 kB / 0.5148 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.3545, allocations: 17.44 kB / 0.5148 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.3545, allocations: 63.34 kB / 0.5149 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3547, allocations: 92.83 kB / 0.515 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3547, allocations: 0.5625 kB / 0.515 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3547, allocations: 0 / 0.515 GB, free: 36.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3547, allocations: 2.75 kB / 0.515 GB, free: 36.63 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.000325/0.355, allocations: 391.2 kB / 0.5154 GB, free: 36.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3551, allocations: 8.531 kB / 0.5154 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.3551, allocations: 15.56 kB / 0.5154 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3552, allocations: 199.2 kB / 0.5156 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3553, allocations: 7.094 kB / 0.5156 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3553, allocations: 4.25 kB / 0.5156 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3554, allocations: 60.3 kB / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3554, allocations: 0 / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3554, allocations: 0 / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3555, allocations: 4.109 kB / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.3555, allocations: 31.34 kB / 0.5157 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.3558, allocations: 294.1 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.3559, allocations: 48.55 kB / 0.516 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.356, allocations: 16.38 kB / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.356, allocations: 6.938 kB / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.356, allocations: 34.56 kB / 0.5161 GB, free: 35.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.356, allocations: 0 / 0.5161 GB, free: 35.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000758/0.3568, allocations: 245.8 kB / 0.5163 GB, free: 35.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.3568, allocations: 55.41 kB / 0.5164 GB, free: 35.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.357, allocations: 214.9 kB / 0.5166 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.357, allocations: 25.7 kB / 0.5166 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.357, allocations: 104.9 kB / 0.5167 GB, free: 35.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3571, allocations: 25.77 kB / 0.5167 GB, free: 35.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.3571, allocations: 7.938 kB / 0.5167 GB, free: 35.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.3571, allocations: 321.1 kB / 0.517 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.3572, allocations: 32.61 kB / 0.5171 GB, free: 34.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.3573, allocations: 32.03 kB / 0.5171 GB, free: 34.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3574, allocations: 67.56 kB / 0.5172 GB, free: 34.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3574, allocations: 0 / 0.5172 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001683/0.3576, allocations: 107.3 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3576, allocations: 5.969 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3576, allocations: 96 / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3576, allocations: 3.984 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.3577, allocations: 24.61 kB / 0.5173 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3578, allocations: 12 kB / 0.5173 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.3578, allocations: 17.06 kB / 0.5173 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3578, allocations: 0 / 0.5173 GB, free: 34.68 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.645e-05/0.3579, allocations: 124.9 kB / 0.5174 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3579, allocations: 13.25 kB / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.3582, allocations: 122.3 kB / 0.5176 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3582, allocations: 3.75 kB / 0.5176 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3582, allocations: 3.938 kB / 0.5176 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3582, allocations: 0 / 0.5176 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.3586, allocations: 410.7 kB / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3586, allocations: 3.031 kB / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.3587, allocations: 21.12 kB / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3587, allocations: 2.75 kB / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3587, allocations: 0 / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3587, allocations: 0 / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3587, allocations: 2.656 kB / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3589, allocations: 211.5 kB / 0.5182 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.3589, allocations: 90.84 kB / 0.5183 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3589, allocations: 6.562 kB / 0.5183 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.359, allocations: 16.77 kB / 0.5183 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.3591, allocations: 6.859 kB / 0.5183 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3591, allocations: 2.656 kB / 0.5183 GB, free: 33.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.567e-05/0.3592, allocations: 157.8 kB / 0.5185 GB, free: 33.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3592, allocations: 0 / 0.5185 GB, free: 33.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.3594, allocations: 21.69 kB / 0.5185 GB, free: 33.74 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.000899/0.3603, allocations: 0.5139 MB / 0.519 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3605, allocations: 70.77 kB / 0.519 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3605, allocations: 4 kB / 0.5191 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.3606, allocations: 43.91 kB / 0.5191 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.361, allocations: 26.77 kB / 0.5191 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.3614, allocations: 277.5 kB / 0.5194 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3615, allocations: 0.7037 MB / 0.5201 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.3616, allocations: 19.52 kB / 0.5201 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3616, allocations: 16.66 kB / 0.5201 GB, free: 32.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3616, allocations: 0 / 0.5201 GB, free: 32.46 MB / 378.7 MB Notification: Performance of Templates: time 0.003184/0.3648, allocations: 1.249 MB / 0.5213 GB, free: 32.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches