Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001221/0.001221, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001216/0.001216, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2028/0.2028, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002892/0.322, allocations: 1.569 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3234, allocations: 1.02 MB / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.3234, allocations: 1.562 kB / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.3237, allocations: 23.23 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.3239, allocations: 46.12 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.3242, allocations: 84.83 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.3243, allocations: 54.47 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3245, allocations: 13.12 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.3245, allocations: 26.84 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3247, allocations: 25.28 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3247, allocations: 2.469 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3248, allocations: 50.31 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.3249, allocations: 12.42 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.3249, allocations: 21.69 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3251, allocations: 89.83 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3251, allocations: 0 / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3251, allocations: 0 / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3251, allocations: 1.125 kB / 0.5214 GB, free: 1.273 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.0004076/0.3255, allocations: 381.6 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3256, allocations: 13.06 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.3256, allocations: 36.7 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3257, allocations: 7.859 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3258, allocations: 186.1 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3258, allocations: 1.5 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3259, allocations: 3.266 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.326, allocations: 72.58 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.326, allocations: 4.75 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.326, allocations: 1.25 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3261, allocations: 4 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.168e-05/0.3261, allocations: 22.38 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.3264, allocations: 273 kB / 0.5224 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3267, allocations: 44.28 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.3267, allocations: 16.39 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3267, allocations: 5.953 kB / 0.5224 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3268, allocations: 32.48 kB / 0.5225 GB, free: 184 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3268, allocations: 0 / 0.5225 GB, free: 184 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005455/0.3273, allocations: 131.3 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3274, allocations: 78.17 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3276, allocations: 147.9 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3276, allocations: 29.7 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.3276, allocations: 92.17 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3277, allocations: 16.5 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3277, allocations: 14.69 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3278, allocations: 323.7 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.3279, allocations: 17.44 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.328, allocations: 40.08 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3281, allocations: 45.98 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3281, allocations: 1.188 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.3283, allocations: 80.34 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3284, allocations: 5.188 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3284, allocations: 1.656 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3284, allocations: 288 / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.3285, allocations: 17.2 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3285, allocations: 4.641 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.3285, allocations: 4.938 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3285, allocations: 5.438 kB / 0.5235 GB, free: 15.32 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 7.466e-05/0.3286, allocations: 114.2 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3287, allocations: 12.34 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3289, allocations: 94.72 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3289, allocations: 1.5 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3289, allocations: 0.5156 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3289, allocations: 1.5 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.3293, allocations: 337.7 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3293, allocations: 1.594 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3294, allocations: 15.02 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3294, allocations: 2.328 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3294, allocations: 8 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3294, allocations: 13.06 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3294, allocations: 0.7969 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3297, allocations: 171.8 kB / 0.5242 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.3297, allocations: 84.84 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3297, allocations: 0.5156 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.3298, allocations: 9.5 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3299, allocations: 7.328 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.3299, allocations: 1.922 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.33, allocations: 103.2 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.33, allocations: 0 / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3302, allocations: 25.23 kB / 0.5244 GB, free: 14.45 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.001316/0.3316, allocations: 1.05 MB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.3318, allocations: 44.14 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3318, allocations: 7.938 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.3319, allocations: 24.17 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.3322, allocations: 29.42 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3337, allocations: 1.375 MB / 0.5269 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3339, allocations: 0.6966 MB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.334, allocations: 6.797 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.3341, allocations: 28.66 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3341, allocations: 0 / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3542, allocations: 2.749 MB / 0.5303 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.162, allocations: 5.109 kB / 0.5303 GB, free: 10.52 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_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_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches