Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001617/0.001618, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.00159/0.00159, allocations: 183 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2118/0.2118, allocations: 44.18 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3625, allocations: 60.81 MB / 0.5185 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002767/0.3653, allocations: 1.588 MB / 0.52 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006518/0.366, allocations: 406.8 kB / 0.5204 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.3661, allocations: 1.312 kB / 0.5204 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.3663, allocations: 71.22 kB / 0.5205 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.3665, allocations: 64.27 kB / 0.5205 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.3668, allocations: 84.89 kB / 0.5206 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.367, allocations: 77.5 kB / 0.5207 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.3671, allocations: 19.06 kB / 0.5207 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.3672, allocations: 38.45 kB / 0.5207 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.3673, allocations: 48.94 kB / 0.5208 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3673, allocations: 2.875 kB / 0.5208 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3674, allocations: 48 kB / 0.5208 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.3675, allocations: 18.84 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.3675, allocations: 30.48 kB / 0.5209 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3677, allocations: 102.5 kB / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3677, allocations: 0 / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3677, allocations: 1.219 kB / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3677, allocations: 3.938 kB / 0.521 GB, free: 1.562 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.0004106/0.3681, allocations: 411.1 kB / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3682, allocations: 10.53 kB / 0.5214 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.3682, allocations: 36.64 kB / 0.5214 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.3683, allocations: 9.328 kB / 0.5214 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3684, allocations: 194.3 kB / 0.5216 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.3684, allocations: 9.375 kB / 0.5216 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3685, allocations: 6.625 kB / 0.5216 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3686, allocations: 55.84 kB / 0.5217 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3686, allocations: 1.875 kB / 0.5217 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3686, allocations: 0 / 0.5217 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3687, allocations: 1.25 kB / 0.5217 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.3687, allocations: 25.62 kB / 0.5217 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.3691, allocations: 297.3 kB / 0.522 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.3692, allocations: 42.61 kB / 0.522 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.3692, allocations: 18.95 kB / 0.522 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3692, allocations: 1.094 kB / 0.522 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.3693, allocations: 32.12 kB / 0.5221 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3693, allocations: 0 / 0.5221 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008304/0.3701, allocations: 231.1 kB / 0.5223 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.3701, allocations: 57 kB / 0.5223 GB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3703, allocations: 209.7 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.3703, allocations: 27.55 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.3704, allocations: 111.5 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3704, allocations: 29.78 kB / 0.5227 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3705, allocations: 20.59 kB / 0.5227 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3706, allocations: 323.4 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.3707, allocations: 21.56 kB / 0.5231 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.3707, allocations: 27.31 kB / 0.5231 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3709, allocations: 62.34 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3709, allocations: 0.5625 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002091/0.3711, allocations: 93 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3711, allocations: 9.562 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3712, allocations: 0 / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3712, allocations: 3.938 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3713, allocations: 21.72 kB / 0.5233 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3713, allocations: 5.5 kB / 0.5233 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3713, allocations: 12.7 kB / 0.5233 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3714, allocations: 5.406 kB / 0.5233 GB, free: 15.55 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 (8): * Single equations (assignments): 8 * 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.513e-05/0.3715, allocations: 122.7 kB / 0.5234 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.3715, allocations: 14.38 kB / 0.5234 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3718, allocations: 121.7 kB / 0.5235 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3718, allocations: 1.312 kB / 0.5235 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3718, allocations: 3.938 kB / 0.5235 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3718, allocations: 5.703 kB / 0.5235 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.3723, allocations: 408.2 kB / 0.5239 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3723, allocations: 3.938 kB / 0.5239 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.3724, allocations: 17.08 kB / 0.524 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3724, allocations: 1.094 kB / 0.524 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3724, allocations: 2.047 kB / 0.524 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3724, allocations: 1.156 kB / 0.524 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3725, allocations: 4.031 kB / 0.524 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3727, allocations: 204 kB / 0.5242 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.3728, allocations: 87.98 kB / 0.5242 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3728, allocations: 2.406 kB / 0.5242 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.3729, allocations: 4.969 kB / 0.5242 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3729, allocations: 17.53 kB / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.3729, allocations: 3.547 kB / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3731, allocations: 155.5 kB / 0.5244 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3731, allocations: 0 / 0.5244 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3733, allocations: 19.2 kB / 0.5244 GB, free: 14.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001392/0.3747, allocations: 1.081 MB / 0.5255 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.375, allocations: 65.31 kB / 0.5256 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.375, allocations: 0 / 0.5256 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.3751, allocations: 41.67 kB / 0.5256 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3754, allocations: 20.8 kB / 0.5256 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3772, allocations: 1.644 MB / 0.5272 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3774, allocations: 0.7099 MB / 0.5279 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.3775, allocations: 18.3 kB / 0.5279 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3776, allocations: 28.75 kB / 0.528 GB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3776, allocations: 0 / 0.528 GB, free: 11.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.3964, allocations: 3.021 MB / 0.5309 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.192, allocations: 13.98 kB / 0.5309 GB, free: 10.4 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches