Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.0008964/0.0008965, allocations: 173.5 kB / 17.4 MB, free: 4.293 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.315/1.315, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008485/0.0008486, allocations: 96.84 kB / 295.1 MB, free: 9.496 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.3374/0.3374, allocations: 44.32 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 11.94 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3278, allocations: 61.9 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001473/0.3293, allocations: 1.283 MB / 0.514 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.3299, allocations: 469.6 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.33, allocations: 3.938 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.3302, allocations: 75.94 kB / 0.5145 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3303, allocations: 56.62 kB / 0.5146 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3306, allocations: 98.45 kB / 0.5147 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3307, allocations: 73.67 kB / 0.5147 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.3308, allocations: 27.88 kB / 0.5148 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.3309, allocations: 24.81 kB / 0.5148 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.331, allocations: 48.33 kB / 0.5148 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.331, allocations: 0 / 0.5148 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.3311, allocations: 39.72 kB / 0.5149 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3311, allocations: 15.62 kB / 0.5149 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3312, allocations: 66.17 kB / 0.5149 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3313, allocations: 90.86 kB / 0.515 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3313, allocations: 3.938 kB / 0.515 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3313, allocations: 0 / 0.515 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3313, allocations: 0 / 0.515 GB, free: 36.45 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.0003636/0.3317, allocations: 398.5 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3318, allocations: 7.562 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3318, allocations: 9.75 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3319, allocations: 201.7 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.332, allocations: 6.781 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.332, allocations: 2.844 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.3321, allocations: 57.92 kB / 0.5157 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3321, allocations: 0 / 0.5157 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3321, allocations: 6.406 kB / 0.5157 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3321, allocations: 0 / 0.5157 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.3322, allocations: 33.12 kB / 0.5157 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.3325, allocations: 316.5 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.3326, allocations: 43.66 kB / 0.5161 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.3327, allocations: 23.77 kB / 0.5161 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3327, allocations: 4 kB / 0.5161 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.3327, allocations: 30.56 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3327, allocations: 3.062 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008118/0.3336, allocations: 265.5 kB / 0.5164 GB, free: 35.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.3336, allocations: 55.41 kB / 0.5164 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3337, allocations: 212.8 kB / 0.5166 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.3337, allocations: 25.7 kB / 0.5167 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.3338, allocations: 101.5 kB / 0.5168 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3338, allocations: 30.41 kB / 0.5168 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.3338, allocations: 4 kB / 0.5168 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.3339, allocations: 321.2 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.334, allocations: 31.47 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.334, allocations: 34.22 kB / 0.5172 GB, free: 34.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3342, allocations: 82.56 kB / 0.5172 GB, free: 34.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3342, allocations: 4 kB / 0.5172 GB, free: 34.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002014/0.3344, allocations: 120.3 kB / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3344, allocations: 6.547 kB / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3344, allocations: 0 / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3345, allocations: 0 / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.3345, allocations: 19.75 kB / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3346, allocations: 7.938 kB / 0.5174 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3346, allocations: 11.11 kB / 0.5174 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3346, allocations: 2.094 kB / 0.5174 GB, free: 34.49 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.929e-05/0.3347, allocations: 131.5 kB / 0.5175 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3347, allocations: 14.17 kB / 0.5175 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.335, allocations: 137.5 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.335, allocations: 1.672 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.335, allocations: 5.188 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3351, allocations: 0.75 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.3355, allocations: 423 kB / 0.5181 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3355, allocations: 0.8438 kB / 0.5181 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-05/0.3356, allocations: 31.47 kB / 0.5181 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3356, allocations: 1.062 kB / 0.5181 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3356, allocations: 4.906 kB / 0.5181 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3356, allocations: 1.578 kB / 0.5181 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3356, allocations: 1.156 kB / 0.5181 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3358, allocations: 222 kB / 0.5183 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.3359, allocations: 89.94 kB / 0.5184 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3359, allocations: 1.078 kB / 0.5184 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.336, allocations: 19.12 kB / 0.5184 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.336, allocations: 9.234 kB / 0.5184 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.336, allocations: 4.188 kB / 0.5184 GB, free: 33.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.935e-05/0.3361, allocations: 160.1 kB / 0.5186 GB, free: 33.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3361, allocations: 0 / 0.5186 GB, free: 33.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.3364, allocations: 19.73 kB / 0.5186 GB, free: 33.53 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.0009311/0.3373, allocations: 0.5109 MB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3375, allocations: 86.44 kB / 0.5192 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3375, allocations: 0.9375 kB / 0.5192 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.3376, allocations: 50.16 kB / 0.5192 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.338, allocations: 26.66 kB / 0.5193 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3384, allocations: 285.7 kB / 0.5195 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3385, allocations: 0.7044 MB / 0.5202 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.3386, allocations: 18.45 kB / 0.5203 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3387, allocations: 16.52 kB / 0.5203 GB, free: 32.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3387, allocations: 5.125 kB / 0.5203 GB, free: 32.25 MB / 378.7 MB Notification: Performance of Templates: time 0.00329/0.342, allocations: 1.284 MB / 0.5215 GB, free: 32.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches