Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 174.4 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.325/1.325, 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.0008097/0.0008095, allocations: 90.05 kB / 295.1 MB, free: 9.492 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.329/0.329, allocations: 44.33 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.000344, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 61.91 MB / 0.5127 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001675/0.3282, allocations: 1.261 MB / 0.514 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3295, allocations: 1.134 MB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.3296, allocations: 3.938 kB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3299, allocations: 19.72 kB / 0.5151 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.33, allocations: 37.83 kB / 0.5151 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3303, allocations: 99.7 kB / 0.5152 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3304, allocations: 51.75 kB / 0.5153 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3305, allocations: 11.88 kB / 0.5153 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.3306, allocations: 24.94 kB / 0.5153 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3307, allocations: 20.14 kB / 0.5153 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.3307, allocations: 0 / 0.5153 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.3308, allocations: 48.77 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.3309, allocations: 6.969 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3309, allocations: 50.89 kB / 0.5154 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3311, allocations: 85.5 kB / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3311, allocations: 0 / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3311, allocations: 0 / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.3311, allocations: 0 / 0.5155 GB, free: 35.84 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.0003966/0.3315, allocations: 373.6 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3316, allocations: 9 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3316, allocations: 7.875 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3318, allocations: 183.8 kB / 0.5161 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3318, allocations: 4.375 kB / 0.5161 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3318, allocations: 2.969 kB / 0.5161 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.332, allocations: 72.19 kB / 0.5161 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.332, allocations: 0 / 0.5161 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.332, allocations: 0 / 0.5161 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.332, allocations: 2.938 kB / 0.5161 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.3321, allocations: 35.88 kB / 0.5162 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3324, allocations: 284.6 kB / 0.5165 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3326, allocations: 50.45 kB / 0.5165 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3327, allocations: 18.27 kB / 0.5165 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3327, allocations: 2.969 kB / 0.5165 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3327, allocations: 34.5 kB / 0.5166 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3327, allocations: 0 / 0.5166 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005305/0.3333, allocations: 166.4 kB / 0.5167 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3333, allocations: 79.92 kB / 0.5168 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.3334, allocations: 131.8 kB / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.3334, allocations: 28.42 kB / 0.5169 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.3335, allocations: 98.19 kB / 0.517 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3335, allocations: 11.75 kB / 0.517 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.3335, allocations: 6.812 kB / 0.5171 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.3336, allocations: 318.2 kB / 0.5174 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.3336, allocations: 22.92 kB / 0.5174 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.3337, allocations: 49.36 kB / 0.5174 GB, free: 34.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3338, allocations: 53.58 kB / 0.5175 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3338, allocations: 0 / 0.5175 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001576/0.334, allocations: 103.2 kB / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.334, allocations: 6.469 kB / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.334, allocations: 0 / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3341, allocations: 0 / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.3341, allocations: 14.06 kB / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3341, allocations: 0 / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.3342, allocations: 9.375 kB / 0.5176 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3342, allocations: 1.375 kB / 0.5176 GB, free: 33.96 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.917e-05/0.3343, allocations: 125.5 kB / 0.5177 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3343, allocations: 8.406 kB / 0.5177 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3345, allocations: 101 kB / 0.5178 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3346, allocations: 1.469 kB / 0.5178 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3346, allocations: 5.438 kB / 0.5178 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3346, allocations: 4.5 kB / 0.5178 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.335, allocations: 364.9 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.335, allocations: 0.7031 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.335, allocations: 18.56 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.335, allocations: 3.938 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3351, allocations: 1.969 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3351, allocations: 7.875 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3351, allocations: 1.062 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3353, allocations: 188.3 kB / 0.5184 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.3353, allocations: 89.11 kB / 0.5185 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3353, allocations: 1.969 kB / 0.5185 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3354, allocations: 9.828 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3354, allocations: 4.547 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3355, allocations: 1.969 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.3355, allocations: 106.9 kB / 0.5186 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3355, allocations: 0 / 0.5186 GB, free: 33.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.3357, allocations: 24.98 kB / 0.5186 GB, free: 33.07 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.0008895/0.3366, allocations: 0.5048 MB / 0.5191 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3369, allocations: 68.66 kB / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3369, allocations: 0 / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.337, allocations: 29.45 kB / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3373, allocations: 12.78 kB / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.3376, allocations: 178.1 kB / 0.5194 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3377, allocations: 0.6981 MB / 0.5201 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.3378, allocations: 20.47 kB / 0.5201 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.3378, allocations: 25.59 kB / 0.5201 GB, free: 31.87 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3378, allocations: 0 / 0.5201 GB, free: 31.87 MB / 378.7 MB Notification: Performance of Templates: time 0.003443/0.3413, allocations: 1.296 MB / 0.5214 GB, free: 31.72 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches