Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009127/0.0009128, allocations: 174.2 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.308/1.308, 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.0007803/0.0007804, allocations: 94.31 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.3447/0.3447, allocations: 44.31 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004414, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3736, allocations: 61.91 MB / 0.5127 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001668/0.3753, allocations: 1.268 MB / 0.514 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3765, allocations: 1.118 MB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.3766, allocations: 0 / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.3768, allocations: 32.33 kB / 0.5151 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3769, allocations: 31.81 kB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.3772, allocations: 78.31 kB / 0.5152 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3773, allocations: 57.27 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.3774, allocations: 9.594 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.897e-05/0.3775, allocations: 16.44 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3776, allocations: 25.84 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3776, allocations: 10.08 kB / 0.5153 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.3777, allocations: 38 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.3778, allocations: 13.95 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3778, allocations: 40.08 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3779, allocations: 87.38 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.378, allocations: 3.938 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.378, allocations: 2.844 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.378, allocations: 0 / 0.5155 GB, free: 35.89 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.0003963/0.3784, allocations: 366.5 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3784, allocations: 15 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.3785, allocations: 7.656 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3786, allocations: 186.5 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.3787, allocations: 4.375 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3787, allocations: 3.062 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3788, allocations: 64.09 kB / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3788, allocations: 0 / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3789, allocations: 8 kB / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3789, allocations: 0 / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.379, allocations: 23.84 kB / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.3792, allocations: 283.6 kB / 0.5164 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3794, allocations: 50.17 kB / 0.5165 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.3795, allocations: 16.48 kB / 0.5165 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3795, allocations: 3.062 kB / 0.5165 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.3795, allocations: 30.56 kB / 0.5165 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.3795, allocations: 0 / 0.5165 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004825/0.38, allocations: 158 kB / 0.5167 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3801, allocations: 80.05 kB / 0.5167 GB, free: 34.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.3802, allocations: 138 kB / 0.5169 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.3802, allocations: 29.7 kB / 0.5169 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.3802, allocations: 90.23 kB / 0.517 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3802, allocations: 18.41 kB / 0.517 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3803, allocations: 0 / 0.517 GB, free: 34.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.3803, allocations: 322.1 kB / 0.5173 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.3804, allocations: 22 kB / 0.5173 GB, free: 34.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3804, allocations: 39.97 kB / 0.5174 GB, free: 34.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3806, allocations: 51.73 kB / 0.5174 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3806, allocations: 0 / 0.5174 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00015/0.3807, allocations: 95.89 kB / 0.5175 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3807, allocations: 5.875 kB / 0.5175 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3808, allocations: 7.922 kB / 0.5175 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3808, allocations: 0 / 0.5175 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.3808, allocations: 15.17 kB / 0.5175 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3808, allocations: 0 / 0.5175 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.3809, allocations: 9.906 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3809, allocations: 2.75 kB / 0.5176 GB, free: 34 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.903e-05/0.381, allocations: 116.8 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.381, allocations: 9.938 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.3812, allocations: 98.19 kB / 0.5178 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3812, allocations: 0 / 0.5178 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3813, allocations: 3.938 kB / 0.5178 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3813, allocations: 3.234 kB / 0.5178 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.3816, allocations: 352.1 kB / 0.5181 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3816, allocations: 0 / 0.5181 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.3816, allocations: 13.03 kB / 0.5181 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3817, allocations: 2.938 kB / 0.5181 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3817, allocations: 7.125 kB / 0.5181 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3817, allocations: 3.938 kB / 0.5181 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3817, allocations: 0 / 0.5181 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3819, allocations: 188.6 kB / 0.5183 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.3819, allocations: 86.17 kB / 0.5184 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3819, allocations: 1.25 kB / 0.5184 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.382, allocations: 12.77 kB / 0.5184 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.382, allocations: 9.469 kB / 0.5184 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3821, allocations: 1.156 kB / 0.5184 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.3821, allocations: 101 kB / 0.5185 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3821, allocations: 4 kB / 0.5185 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.3824, allocations: 26.33 kB / 0.5185 GB, free: 33.13 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.0009412/0.3833, allocations: 0.492 MB / 0.519 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.3835, allocations: 65 kB / 0.5191 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3835, allocations: 0 / 0.5191 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.3836, allocations: 26.52 kB / 0.5191 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.000294/0.3839, allocations: 17.14 kB / 0.5191 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.3843, allocations: 175.3 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3844, allocations: 0.6908 MB / 0.52 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.202e-05/0.3845, allocations: 10.98 kB / 0.52 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3845, allocations: 17.31 kB / 0.52 GB, free: 31.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3845, allocations: 1.094 kB / 0.52 GB, free: 31.95 MB / 378.7 MB Notification: Performance of Templates: time 0.003693/0.3882, allocations: 1.295 MB / 0.5213 GB, free: 31.79 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches