Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.00141/0.00141, allocations: 112.8 kB / 17.77 MB, free: 5.363 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.001438/0.001438, allocations: 180.1 kB / 18.7 MB, free: 4.438 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2178/0.2178, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.326, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002837/0.3289, allocations: 1.562 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3304, allocations: 1.029 MB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.3304, allocations: 1 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3306, allocations: 24.61 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3308, allocations: 45.7 kB / 0.521 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3312, allocations: 103.5 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3313, allocations: 55.55 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3314, allocations: 19.56 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.3315, allocations: 22.47 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3316, allocations: 26.58 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3317, allocations: 2.594 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3318, allocations: 45.39 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.3318, allocations: 17.22 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.3319, allocations: 21.48 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3321, allocations: 87.14 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3321, allocations: 3.938 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3321, allocations: 0 / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3321, allocations: 5.25 kB / 0.5214 GB, free: 1.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004382/0.3325, allocations: 377.1 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3326, allocations: 10.16 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.3326, allocations: 32.66 kB / 0.5218 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3326, allocations: 8.547 kB / 0.5218 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3328, allocations: 193.9 kB / 0.522 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3328, allocations: 1.562 kB / 0.522 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3329, allocations: 2.562 kB / 0.522 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.333, allocations: 78.5 kB / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.333, allocations: 7.953 kB / 0.5221 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3331, allocations: 1.891 kB / 0.5221 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3331, allocations: 0 / 0.5221 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3332, allocations: 22.86 kB / 0.5221 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3336, allocations: 276.5 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.3338, allocations: 53.89 kB / 0.5224 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.3339, allocations: 13.36 kB / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3339, allocations: 0.7969 kB / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.3339, allocations: 36.41 kB / 0.5225 GB, free: 148 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3339, allocations: 0 / 0.5225 GB, free: 148 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006096/0.3345, allocations: 143.3 kB / 0.5226 GB, free: 84 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3346, allocations: 78.23 kB / 0.5227 GB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3348, allocations: 135.6 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3348, allocations: 25.7 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.3349, allocations: 97.27 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3349, allocations: 15.53 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3349, allocations: 15.61 kB / 0.523 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3351, allocations: 327.2 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.3352, allocations: 20.08 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3353, allocations: 33.39 kB / 0.5233 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3354, allocations: 56.06 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3354, allocations: 0 / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000204/0.3356, allocations: 89.02 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3356, allocations: 13.38 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3357, allocations: 0.7969 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3357, allocations: 1.031 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.3357, allocations: 11.44 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3357, allocations: 2.094 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.3358, allocations: 4.781 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3358, allocations: 4.969 kB / 0.5235 GB, free: 15.29 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 (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 0.0001074/0.3359, allocations: 119.9 kB / 0.5236 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3359, allocations: 7.234 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.3362, allocations: 100.9 kB / 0.5237 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3362, allocations: 1.859 kB / 0.5237 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3362, allocations: 4 kB / 0.5237 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3362, allocations: 2.109 kB / 0.5237 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.3368, allocations: 360.5 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3368, allocations: 0 / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.3368, allocations: 12.98 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3368, allocations: 1.281 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3368, allocations: 4 kB / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.3368, allocations: 5.719 kB / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3368, allocations: 0 / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3371, allocations: 180.7 kB / 0.5243 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.3372, allocations: 84.91 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3372, allocations: 0 / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3373, allocations: 8.844 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3373, allocations: 8.594 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3373, allocations: 1.375 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.3374, allocations: 108 kB / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3374, allocations: 0 / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3377, allocations: 26.25 kB / 0.5245 GB, free: 14.4 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 (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.00214/0.3398, allocations: 1.055 MB / 0.5255 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3401, allocations: 55.77 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3401, allocations: 0 / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.3402, allocations: 26.89 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3405, allocations: 20.12 kB / 0.5256 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3423, allocations: 1.415 MB / 0.527 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3427, allocations: 0.6924 MB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.3428, allocations: 21.17 kB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.3428, allocations: 28.84 kB / 0.5277 GB, free: 11.6 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3428, allocations: 0 / 0.5277 GB, free: 11.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3684, allocations: 2.762 MB / 0.5304 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.289, allocations: 21.67 kB / 0.5305 GB, free: 10.41 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches