Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, 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.381/1.381, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0007613/0.0007613, allocations: 97.02 kB / 295 MB, free: 9.508 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.3293/0.3293, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3125, allocations: 61.9 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001523/0.3141, allocations: 1.267 MB / 0.514 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005779/0.3147, allocations: 448.4 kB / 0.5144 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.3147, allocations: 0 / 0.5144 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3149, allocations: 17.86 kB / 0.5144 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.315, allocations: 35.06 kB / 0.5145 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3153, allocations: 79.86 kB / 0.5145 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3154, allocations: 54.56 kB / 0.5146 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.3155, allocations: 13.41 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.3155, allocations: 23.55 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.3156, allocations: 19.25 kB / 0.5146 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3156, allocations: 0 / 0.5146 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-05/0.3156, allocations: 24.47 kB / 0.5147 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.3157, allocations: 7.516 kB / 0.5147 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.3157, allocations: 45.89 kB / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3159, allocations: 69.7 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3159, allocations: 0 / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3159, allocations: 6.875 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.3159, allocations: 0 / 0.5148 GB, free: 36.48 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.000325/0.3162, allocations: 369.1 kB / 0.5151 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3163, allocations: 8.438 kB / 0.5151 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.3163, allocations: 7.906 kB / 0.5151 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3164, allocations: 188.6 kB / 0.5153 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.3164, allocations: 7.312 kB / 0.5153 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3165, allocations: 384 / 0.5153 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3166, allocations: 59.05 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3166, allocations: 0 / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3166, allocations: 0 / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3166, allocations: 3.938 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.3167, allocations: 27.92 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.3169, allocations: 275.5 kB / 0.5157 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3171, allocations: 47.11 kB / 0.5157 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.3172, allocations: 16.72 kB / 0.5157 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3172, allocations: 0 / 0.5157 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.3172, allocations: 37.16 kB / 0.5158 GB, free: 35.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.3172, allocations: 7.984 kB / 0.5158 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004555/0.3177, allocations: 151 kB / 0.5159 GB, free: 35.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.3177, allocations: 59.41 kB / 0.516 GB, free: 35.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.3178, allocations: 143.8 kB / 0.5161 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.3178, allocations: 25.7 kB / 0.5162 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.3179, allocations: 90.77 kB / 0.5162 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.3179, allocations: 17.77 kB / 0.5163 GB, free: 35.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3179, allocations: 0 / 0.5163 GB, free: 35.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.3179, allocations: 326 kB / 0.5166 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.318, allocations: 22.14 kB / 0.5166 GB, free: 34.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.3181, allocations: 27.55 kB / 0.5166 GB, free: 34.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3182, allocations: 52.47 kB / 0.5167 GB, free: 34.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3182, allocations: 7.938 kB / 0.5167 GB, free: 34.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001459/0.3184, allocations: 90.41 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3184, allocations: 5.281 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3184, allocations: 0 / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3184, allocations: 0 / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.3185, allocations: 14.52 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3185, allocations: 4 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.3185, allocations: 5.969 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.3185, allocations: 2.969 kB / 0.5168 GB, free: 34.66 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.184e-05/0.3186, allocations: 124.1 kB / 0.5169 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.3186, allocations: 6.812 kB / 0.5169 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.3188, allocations: 98.84 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3188, allocations: 3.047 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3188, allocations: 0 / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3188, allocations: 0 / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.3191, allocations: 357.2 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3191, allocations: 3.938 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.3192, allocations: 12.98 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3192, allocations: 2.438 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3192, allocations: 0 / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3192, allocations: 4.25 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3192, allocations: 0 / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.3194, allocations: 190 kB / 0.5176 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.3194, allocations: 90.84 kB / 0.5176 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3194, allocations: 4 kB / 0.5176 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.3195, allocations: 12.52 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.3196, allocations: 2.906 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3196, allocations: 4 kB / 0.5177 GB, free: 33.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.3196, allocations: 110.4 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3196, allocations: 0 / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.3198, allocations: 14.91 kB / 0.5178 GB, free: 33.79 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.0007692/0.3206, allocations: 461.7 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3208, allocations: 56.81 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3208, allocations: 0.9062 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.3209, allocations: 34.08 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3212, allocations: 14.14 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.3215, allocations: 198.1 kB / 0.5185 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3216, allocations: 0.6884 MB / 0.5192 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.3216, allocations: 9.109 kB / 0.5192 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.3216, allocations: 14.97 kB / 0.5192 GB, free: 32.62 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3217, allocations: 4 kB / 0.5192 GB, free: 32.61 MB / 378.7 MB Notification: Performance of Templates: time 0.002926/0.3246, allocations: 1.018 MB / 0.5202 GB, free: 32.48 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches