Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 174.2 kB / 17.41 MB, free: 4.414 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.323/1.323, allocations: 225.7 MB / 243.9 MB, free: 8.43 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.0007907/0.0007908, allocations: 92.39 kB / 295.1 MB, free: 9.457 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.3368/0.3368, allocations: 44.31 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3764, allocations: 61.9 MB / 0.5127 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001668/0.3782, allocations: 1.321 MB / 0.514 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3794, allocations: 1.168 MB / 0.5152 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.3795, allocations: 0 / 0.5152 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.3797, allocations: 27.33 kB / 0.5152 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3799, allocations: 31.97 kB / 0.5152 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3803, allocations: 164.1 kB / 0.5154 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3804, allocations: 63.52 kB / 0.5154 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.3805, allocations: 17.78 kB / 0.5155 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.3806, allocations: 19.8 kB / 0.5155 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3807, allocations: 29.7 kB / 0.5155 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3807, allocations: 0 / 0.5155 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3808, allocations: 46.25 kB / 0.5155 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3809, allocations: 20.89 kB / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.381, allocations: 47.5 kB / 0.5156 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3811, allocations: 91.56 kB / 0.5157 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3812, allocations: 1.094 kB / 0.5157 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3812, allocations: 0 / 0.5157 GB, free: 35.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3812, allocations: 0 / 0.5157 GB, free: 35.67 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.0004186/0.3816, allocations: 385.9 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3817, allocations: 9.438 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3817, allocations: 12.75 kB / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3819, allocations: 192.7 kB / 0.5163 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3819, allocations: 6.531 kB / 0.5163 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3819, allocations: 6.688 kB / 0.5163 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3821, allocations: 77.06 kB / 0.5164 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3821, allocations: 0 / 0.5164 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3821, allocations: 6.875 kB / 0.5164 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3821, allocations: 0 / 0.5164 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3823, allocations: 46.58 kB / 0.5164 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.3826, allocations: 308 kB / 0.5167 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3828, allocations: 52.39 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.3828, allocations: 30.14 kB / 0.5168 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3829, allocations: 4 kB / 0.5168 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3829, allocations: 33.66 kB / 0.5168 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3829, allocations: 0 / 0.5168 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007436/0.3836, allocations: 261.4 kB / 0.5171 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3837, allocations: 77.11 kB / 0.5171 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3838, allocations: 138.5 kB / 0.5173 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3838, allocations: 25.7 kB / 0.5173 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.3839, allocations: 94.42 kB / 0.5174 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3839, allocations: 22.47 kB / 0.5174 GB, free: 34.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3839, allocations: 10.91 kB / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.384, allocations: 322.2 kB / 0.5177 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3841, allocations: 50.38 kB / 0.5178 GB, free: 33.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3842, allocations: 73.05 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3844, allocations: 94.38 kB / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3844, allocations: 0 / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002568/0.3847, allocations: 144.5 kB / 0.5181 GB, free: 33.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3847, allocations: 5.625 kB / 0.5181 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3847, allocations: 4 kB / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3847, allocations: 1.094 kB / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3849, allocations: 28.58 kB / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3849, allocations: 0 / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.3849, allocations: 17.62 kB / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.385, allocations: 1.969 kB / 0.5181 GB, free: 33.7 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 (7): * Single equations (assignments): 7 * 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 7.257e-05/0.385, allocations: 121.9 kB / 0.5182 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3851, allocations: 8.438 kB / 0.5183 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.3854, allocations: 151 kB / 0.5184 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3854, allocations: 1.312 kB / 0.5184 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3854, allocations: 0 / 0.5184 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3854, allocations: 8.875 kB / 0.5184 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.3859, allocations: 433.1 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.386, allocations: 1.219 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.386, allocations: 21.77 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3861, allocations: 0 / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3861, allocations: 5.344 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3861, allocations: 4 kB / 0.5189 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3861, allocations: 1.688 kB / 0.5189 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.3864, allocations: 236.5 kB / 0.5191 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.3864, allocations: 91.45 kB / 0.5192 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3865, allocations: 5.031 kB / 0.5192 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.3865, allocations: 13.11 kB / 0.5192 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.3866, allocations: 10.58 kB / 0.5192 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3866, allocations: 1 kB / 0.5192 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.742e-05/0.3867, allocations: 105.9 kB / 0.5193 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.492e-06/0.3867, allocations: 0 / 0.5193 GB, free: 32.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000245/0.3869, allocations: 33.16 kB / 0.5193 GB, free: 32.77 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 (7): * Single equations (assignments): 7 * 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.0009778/0.3879, allocations: 0.4982 MB / 0.5198 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.3882, allocations: 108.7 kB / 0.5199 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3882, allocations: 0 / 0.5199 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3884, allocations: 57.64 kB / 0.52 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3887, allocations: 12.97 kB / 0.52 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.3891, allocations: 243.3 kB / 0.5202 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.3892, allocations: 0.6954 MB / 0.5209 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.752e-05/0.3893, allocations: 25.39 kB / 0.5209 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.3894, allocations: 22.7 kB / 0.5209 GB, free: 31.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3894, allocations: 0 / 0.5209 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Templates: time 0.003711/0.3931, allocations: 1.437 MB / 0.5223 GB, free: 31.38 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches