Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",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.001131/0.001131, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001027/0.001027, allocations: 180.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.388/1.388, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2358/0.2358, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3676, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002948/0.3706, allocations: 1.561 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3718, allocations: 1.022 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.3719, allocations: 1.062 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3721, allocations: 19.22 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.3723, allocations: 45.86 kB / 0.521 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3726, allocations: 84.64 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3727, allocations: 55.88 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3728, allocations: 15.27 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.3729, allocations: 23.28 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.3736, allocations: 25.42 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3736, allocations: 3.156 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3737, allocations: 50.23 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.3738, allocations: 16.38 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.3739, allocations: 18.02 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3741, allocations: 89.14 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3741, allocations: 4 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3741, allocations: 1.219 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3741, allocations: 0.75 kB / 0.5214 GB, free: 1.281 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.0004453/0.3745, allocations: 378 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3746, allocations: 14.09 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.3746, allocations: 32.56 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3747, allocations: 7.203 kB / 0.5218 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3748, allocations: 186.8 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3748, allocations: 2.203 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3749, allocations: 13.55 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.375, allocations: 70.05 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.375, allocations: 3.953 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.375, allocations: 1.188 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3751, allocations: 0 / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.3751, allocations: 22.92 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3754, allocations: 273.1 kB / 0.5224 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3756, allocations: 46.56 kB / 0.5224 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.3757, allocations: 15.06 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3757, allocations: 0 / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3758, allocations: 36.56 kB / 0.5224 GB, free: 192 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3758, allocations: 0.6875 kB / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006062/0.3764, allocations: 138 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3764, allocations: 79.12 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3766, allocations: 144.4 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3766, allocations: 25.7 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.3767, allocations: 92.81 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3767, allocations: 15.34 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3768, allocations: 23.75 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3769, allocations: 318.2 kB / 0.5232 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.377, allocations: 18.7 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.377, allocations: 35.62 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3772, allocations: 47.11 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3772, allocations: 4.031 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.3774, allocations: 75.78 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3774, allocations: 5.812 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3774, allocations: 0.7031 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3774, allocations: 1.062 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.3775, allocations: 11.55 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3775, allocations: 5 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.3776, allocations: 5.547 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3776, allocations: 12.84 kB / 0.5235 GB, free: 15.33 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 8.858e-05/0.3777, allocations: 114.8 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.3777, allocations: 7.984 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.3779, allocations: 88.16 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.378, allocations: 1.188 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.378, allocations: 0 / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.378, allocations: 0.6094 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.3785, allocations: 360.5 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3785, allocations: 0 / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.3785, allocations: 11.22 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3785, allocations: 1.031 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3786, allocations: 1.812 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3786, allocations: 7.875 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3786, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3788, allocations: 182.2 kB / 0.5242 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.3789, allocations: 82.75 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3789, allocations: 1.062 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.379, allocations: 9.766 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.379, allocations: 4.125 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3791, allocations: 6 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.609e-05/0.3791, allocations: 103 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3792, allocations: 0 / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.3794, allocations: 24.69 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.001569/0.381, allocations: 1.054 MB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3813, allocations: 48.41 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3813, allocations: 0 / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.3814, allocations: 23.62 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3818, allocations: 18.58 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3835, allocations: 1.387 MB / 0.5269 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3838, allocations: 0.6912 MB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.3839, allocations: 9.203 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.3839, allocations: 25.05 kB / 0.5276 GB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3839, allocations: 4 kB / 0.5276 GB, free: 11.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.4071, allocations: 2.74 MB / 0.5303 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.011, allocations: 7.641 kB / 0.5303 GB, free: 10.54 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_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_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches