Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001464/0.001465, allocations: 114 kB / 17.78 MB, free: 5.129 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.001688/0.001688, allocations: 183 kB / 18.71 MB, free: 4.203 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.41/1.41, 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.2103/0.2103, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.379, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002809/0.3818, allocations: 1.56 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3833, allocations: 1.02 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.3834, allocations: 0 / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.3836, allocations: 29.47 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3838, allocations: 41.16 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.3841, allocations: 84.02 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3843, allocations: 55.25 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3844, allocations: 13.03 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.3844, allocations: 26.47 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3846, allocations: 28.59 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3846, allocations: 6.5 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3847, allocations: 46.53 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.3848, allocations: 12.05 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.3848, allocations: 25.61 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3851, allocations: 86.69 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3851, allocations: 0 / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3851, allocations: 0 / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3851, allocations: 0 / 0.5214 GB, free: 1.289 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.0004239/0.3855, allocations: 381.8 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3856, allocations: 17.97 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.3856, allocations: 31.45 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.3856, allocations: 8.578 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3858, allocations: 194.8 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3858, allocations: 1.469 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3858, allocations: 1.75 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.386, allocations: 69.06 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.386, allocations: 5.781 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.386, allocations: 4 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.386, allocations: 1.094 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3862, allocations: 25.45 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.3865, allocations: 269.4 kB / 0.5224 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3867, allocations: 44 kB / 0.5224 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.3867, allocations: 20.95 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3868, allocations: 1.797 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3868, allocations: 36.2 kB / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3868, allocations: 0 / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005274/0.3873, allocations: 131.2 kB / 0.5226 GB, free: 136 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3874, allocations: 82.72 kB / 0.5227 GB, free: 36 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3875, allocations: 139.2 kB / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3876, allocations: 30.83 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.3876, allocations: 92.5 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3877, allocations: 15.7 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3877, allocations: 15.5 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3878, allocations: 322.1 kB / 0.5233 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.3879, allocations: 18.42 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.388, allocations: 35.62 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.3881, allocations: 47.25 kB / 0.5234 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3881, allocations: 0 / 0.5234 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.3883, allocations: 80.7 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3884, allocations: 5.375 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3884, allocations: 0.5625 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3884, allocations: 4.031 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.3885, allocations: 13.03 kB / 0.5235 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3885, allocations: 5.281 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.3885, allocations: 4.031 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3885, allocations: 6.75 kB / 0.5235 GB, free: 15.34 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.699e-05/0.3886, allocations: 114.4 kB / 0.5236 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3887, allocations: 7.203 kB / 0.5236 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3889, allocations: 95.84 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3889, allocations: 2.531 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3889, allocations: 0 / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3889, allocations: 0.5156 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.3894, allocations: 346.4 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3894, allocations: 1.062 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.3894, allocations: 15.89 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3895, allocations: 1.094 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3895, allocations: 8 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3895, allocations: 5.516 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3895, allocations: 1.094 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3897, allocations: 176.4 kB / 0.5242 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3898, allocations: 83.2 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3898, allocations: 1.438 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3899, allocations: 13.95 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3899, allocations: 2.875 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.3899, allocations: 2.25 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.39, allocations: 102.5 kB / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.39, allocations: 5.219 kB / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.3904, allocations: 24.91 kB / 0.5244 GB, free: 14.46 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.001514/0.3919, allocations: 1.042 MB / 0.5254 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3921, allocations: 48.62 kB / 0.5255 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3921, allocations: 5.031 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.3922, allocations: 23.36 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3926, allocations: 25.22 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3941, allocations: 1.376 MB / 0.5269 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3945, allocations: 0.6948 MB / 0.5276 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.3946, allocations: 12.28 kB / 0.5276 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.3947, allocations: 28.34 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3947, allocations: 1.281 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.4193, allocations: 2.751 MB / 0.5303 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/8.186, allocations: 5.859 kB / 0.5303 GB, free: 10.54 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_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_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches