Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 55.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3255, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.00259/0.3281, allocations: 1.62 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3295, allocations: 1.069 MB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.3295, allocations: 1.156 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3298, allocations: 19.7 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.33, allocations: 45.89 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3305, allocations: 175.8 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3306, allocations: 69.17 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3307, allocations: 19.48 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.3308, allocations: 21.45 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3309, allocations: 39.78 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.331, allocations: 3.625 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3311, allocations: 52.58 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.3311, allocations: 25.08 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.3312, allocations: 27.14 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3314, allocations: 98.27 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3314, allocations: 1.219 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3314, allocations: 0 / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3314, allocations: 0 / 0.5216 GB, free: 1.133 MB / 382.1 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.0004493/0.3319, allocations: 409.2 kB / 0.522 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3319, allocations: 10.47 kB / 0.522 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.332, allocations: 36.61 kB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.332, allocations: 9.984 kB / 0.5221 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3322, allocations: 189.2 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3322, allocations: 1.5 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3322, allocations: 7 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3324, allocations: 75.53 kB / 0.5223 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3324, allocations: 5.062 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3324, allocations: 4.797 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3324, allocations: 5.219 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3326, allocations: 35.89 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3329, allocations: 310.1 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3331, allocations: 43.34 kB / 0.5227 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.3331, allocations: 32.95 kB / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3332, allocations: 5.953 kB / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3332, allocations: 32 kB / 0.5228 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.3332, allocations: 3.984 kB / 0.5228 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008154/0.334, allocations: 225.7 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3341, allocations: 79.09 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3342, allocations: 145.2 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3343, allocations: 27.41 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.3343, allocations: 93.3 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.3344, allocations: 25.12 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.3344, allocations: 20.39 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3345, allocations: 324.6 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3347, allocations: 38 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3348, allocations: 50.67 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3351, allocations: 95.75 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3351, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002899/0.3354, allocations: 126.7 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3354, allocations: 11.25 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3354, allocations: 0 / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3354, allocations: 1.5 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3355, allocations: 18.55 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3356, allocations: 9.406 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.3356, allocations: 9.547 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3356, allocations: 1.906 kB / 0.524 GB, free: 15.09 MB / 398.1 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 9.442e-05/0.3357, allocations: 117.1 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3358, allocations: 8.922 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.3361, allocations: 145.4 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3362, allocations: 0 / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3362, allocations: 5.188 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3362, allocations: 0.6562 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.3368, allocations: 411.8 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3368, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.3369, allocations: 23.31 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3369, allocations: 9.75 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3369, allocations: 0.6094 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3369, allocations: 2 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3369, allocations: 0 / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3373, allocations: 222.7 kB / 0.525 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.3374, allocations: 89.31 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.3374, allocations: 8.734 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.3375, allocations: 9.891 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3375, allocations: 9.672 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3376, allocations: 1.906 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.3376, allocations: 112.7 kB / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3377, allocations: 0 / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3379, allocations: 31.06 kB / 0.5252 GB, free: 14.16 MB / 398.1 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.001564/0.3395, allocations: 1.092 MB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.3399, allocations: 94.64 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3399, allocations: 1.656 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.34, allocations: 44.89 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3404, allocations: 17.73 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3425, allocations: 1.6 MB / 0.528 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3429, allocations: 0.7006 MB / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.343, allocations: 28.17 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.3431, allocations: 26.38 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3431, allocations: 0 / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.364, allocations: 3.129 MB / 0.5318 GB, free: 9.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.185, allocations: 22.36 kB / 0.5318 GB, free: 9.734 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches