Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008592/0.0008592, allocations: 173.9 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.367/1.367, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.000915/0.000915, allocations: 93.05 kB / 295 MB, free: 9.504 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.3289/0.3289, allocations: 44.32 MB / 390.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 12 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3237, allocations: 61.89 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001572/0.3253, allocations: 1.27 MB / 0.514 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3264, allocations: 1.133 MB / 0.5151 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.3265, allocations: 3.938 kB / 0.5151 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.3267, allocations: 15.56 kB / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3268, allocations: 35.89 kB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.327, allocations: 102.2 kB / 0.5152 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3271, allocations: 54.84 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.3272, allocations: 10.2 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.3273, allocations: 23.44 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3274, allocations: 26.28 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3274, allocations: 0 / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.3275, allocations: 42.73 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.3275, allocations: 14.05 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3276, allocations: 43.73 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3277, allocations: 87.33 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3277, allocations: 0 / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3278, allocations: 0 / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.3278, allocations: 0 / 0.5155 GB, free: 35.92 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.0003301/0.3281, allocations: 372.9 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.3281, allocations: 9 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.3282, allocations: 7.688 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3283, allocations: 183.8 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-06/0.3283, allocations: 4.375 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3283, allocations: 7.375 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3285, allocations: 68.58 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3285, allocations: 0 / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3285, allocations: 3.984 kB / 0.5161 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3285, allocations: 2.75 kB / 0.5161 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.559e-05/0.3286, allocations: 36.53 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.3289, allocations: 284.7 kB / 0.5165 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3291, allocations: 42.39 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.3291, allocations: 22.41 kB / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3292, allocations: 1.375 kB / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3292, allocations: 40.48 kB / 0.5166 GB, free: 34.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3292, allocations: 0 / 0.5166 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005172/0.3297, allocations: 165.4 kB / 0.5167 GB, free: 34.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.3298, allocations: 78.48 kB / 0.5168 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.3299, allocations: 139.3 kB / 0.5169 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3299, allocations: 26.83 kB / 0.5169 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.3299, allocations: 92.28 kB / 0.517 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3299, allocations: 19.91 kB / 0.5171 GB, free: 34.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3299, allocations: 0 / 0.5171 GB, free: 34.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.33, allocations: 323 kB / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.3301, allocations: 28.59 kB / 0.5174 GB, free: 34.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.3302, allocations: 40.97 kB / 0.5174 GB, free: 34.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3303, allocations: 64.62 kB / 0.5175 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3303, allocations: 0 / 0.5175 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.3305, allocations: 96.39 kB / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3305, allocations: 5.812 kB / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3305, allocations: 0 / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3305, allocations: 0 / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.3306, allocations: 18.97 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3306, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.3306, allocations: 8.938 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3306, allocations: 2.906 kB / 0.5176 GB, free: 34.02 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.568e-05/0.3307, allocations: 116.8 kB / 0.5177 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3307, allocations: 6.906 kB / 0.5177 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.3309, allocations: 111.5 kB / 0.5178 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.331, allocations: 2.656 kB / 0.5178 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.331, allocations: 4 kB / 0.5178 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.331, allocations: 3.234 kB / 0.5179 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.3313, allocations: 360.7 kB / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3313, allocations: 0 / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.3314, allocations: 14.58 kB / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3314, allocations: 0 / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3314, allocations: 0 / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3314, allocations: 14.56 kB / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3314, allocations: 0 / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.3316, allocations: 191.9 kB / 0.5184 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.3316, allocations: 84.25 kB / 0.5185 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3316, allocations: 2.875 kB / 0.5185 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.3317, allocations: 16.67 kB / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.3317, allocations: 4 kB / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3317, allocations: 2.781 kB / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.3318, allocations: 104.1 kB / 0.5186 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3318, allocations: 0 / 0.5186 GB, free: 33.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.332, allocations: 19.97 kB / 0.5186 GB, free: 33.14 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.0008444/0.3329, allocations: 0.5066 MB / 0.5191 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.3331, allocations: 59.98 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3331, allocations: 3.938 kB / 0.5192 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.3332, allocations: 30.12 kB / 0.5192 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3334, allocations: 15.19 kB / 0.5192 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.3337, allocations: 177.6 kB / 0.5194 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3338, allocations: 0.6945 MB / 0.5201 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.3339, allocations: 15.48 kB / 0.5201 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.334, allocations: 19.8 kB / 0.5201 GB, free: 31.95 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.334, allocations: 1.062 kB / 0.5201 GB, free: 31.95 MB / 378.7 MB Notification: Performance of Templates: time 0.003113/0.3371, allocations: 1.312 MB / 0.5214 GB, free: 31.79 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches