Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 175 kB / 17.41 MB, free: 4.395 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.337/1.337, 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.0008154/0.0008154, allocations: 97.73 kB / 295.1 MB, free: 9.719 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.3599/0.3599, allocations: 44.33 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.000298, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3341, allocations: 61.9 MB / 0.5127 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001558/0.3358, allocations: 1.269 MB / 0.514 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006196/0.3364, allocations: 458.4 kB / 0.5144 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.3364, allocations: 3.938 kB / 0.5144 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3366, allocations: 33.31 kB / 0.5144 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3368, allocations: 27.36 kB / 0.5145 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.337, allocations: 107.1 kB / 0.5146 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3371, allocations: 47.16 kB / 0.5146 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.3372, allocations: 16.22 kB / 0.5146 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.3373, allocations: 16.91 kB / 0.5146 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.3373, allocations: 20.98 kB / 0.5147 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3373, allocations: 2.906 kB / 0.5147 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.3374, allocations: 31.39 kB / 0.5147 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.3375, allocations: 12.8 kB / 0.5147 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.3375, allocations: 44.39 kB / 0.5148 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3376, allocations: 80.06 kB / 0.5148 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3376, allocations: 0 / 0.5148 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3376, allocations: 0 / 0.5148 GB, free: 36.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3376, allocations: 0 / 0.5148 GB, free: 36.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003608/0.338, allocations: 379.6 kB / 0.5152 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3381, allocations: 8.688 kB / 0.5152 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3381, allocations: 10.75 kB / 0.5152 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3382, allocations: 196.3 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-06/0.3382, allocations: 384 / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3383, allocations: 3.219 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3384, allocations: 56.06 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3384, allocations: 0 / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3384, allocations: 8 kB / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3384, allocations: 0 / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.3385, allocations: 28.39 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.3388, allocations: 284 kB / 0.5158 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.339, allocations: 58.05 kB / 0.5158 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.3391, allocations: 17.77 kB / 0.5158 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3391, allocations: 3.984 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.3391, allocations: 33.89 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3391, allocations: 0 / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005177/0.3397, allocations: 163.9 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3397, allocations: 54.41 kB / 0.5161 GB, free: 35.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3398, allocations: 171.1 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.3398, allocations: 25.7 kB / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.3399, allocations: 101.6 kB / 0.5164 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.3399, allocations: 15.7 kB / 0.5164 GB, free: 35.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.3399, allocations: 0 / 0.5164 GB, free: 35.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.34, allocations: 325.1 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.34, allocations: 23.19 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.3401, allocations: 37.69 kB / 0.5167 GB, free: 34.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3402, allocations: 59.98 kB / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3402, allocations: 0 / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/0.3404, allocations: 97.78 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3404, allocations: 5.844 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3404, allocations: 0 / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3404, allocations: 0 / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.3405, allocations: 17.09 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3405, allocations: 0 / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.3405, allocations: 7.031 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3405, allocations: 3 kB / 0.5169 GB, free: 34.8 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 (5): * Single equations (assignments): 5 * 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 5.867e-05/0.3406, allocations: 129.3 kB / 0.5171 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3406, allocations: 9.656 kB / 0.5171 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.3409, allocations: 107.3 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3409, allocations: 1.094 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3409, allocations: 0 / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3409, allocations: 0 / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.3412, allocations: 366.1 kB / 0.5175 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3412, allocations: 4 kB / 0.5175 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.3413, allocations: 18.52 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3413, allocations: 0 / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3413, allocations: 5.062 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3413, allocations: 4.969 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3413, allocations: 0 / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3415, allocations: 191 kB / 0.5177 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.3416, allocations: 88.53 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3416, allocations: 1.531 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.3417, allocations: 10.73 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3417, allocations: 4.25 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3417, allocations: 2.219 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.3418, allocations: 133.6 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3418, allocations: 0 / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.342, allocations: 15.34 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008426/0.3429, allocations: 471.8 kB / 0.5184 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.3431, allocations: 61.19 kB / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3431, allocations: 0 / 0.5185 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.3432, allocations: 33.33 kB / 0.5185 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3435, allocations: 16.53 kB / 0.5185 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.3438, allocations: 215.4 kB / 0.5187 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.344, allocations: 0.7013 MB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.344, allocations: 13.81 kB / 0.5194 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.3441, allocations: 14.5 kB / 0.5194 GB, free: 32.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3441, allocations: 0 / 0.5194 GB, free: 32.72 MB / 378.7 MB Notification: Performance of Templates: time 0.003263/0.3473, allocations: 1.045 MB / 0.5205 GB, free: 32.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches