Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001565/0.001565, allocations: 118.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.001709/0.001709, 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.407/1.407, 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.2919/0.2919, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 60.09 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3875, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003056/0.3906, allocations: 1.58 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.3914, allocations: 409.3 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3915, allocations: 0.8438 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.3918, allocations: 73.38 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.392, allocations: 63.27 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3923, allocations: 89.44 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3924, allocations: 73.53 kB / 0.5207 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3925, allocations: 18.52 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.3926, allocations: 42.23 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3927, allocations: 48.92 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3928, allocations: 3.656 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3929, allocations: 48.08 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3929, allocations: 18.2 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.393, allocations: 26.61 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.3932, allocations: 94.08 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3932, allocations: 6.406 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3932, allocations: 7.875 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3932, allocations: 0 / 0.521 GB, free: 1.695 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.0004235/0.3936, allocations: 410.7 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3937, allocations: 9.875 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.3937, allocations: 36.8 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.3938, allocations: 9.719 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3939, allocations: 194.2 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.394, allocations: 1.438 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.394, allocations: 10.44 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3941, allocations: 64.28 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3941, allocations: 1.344 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3942, allocations: 0.75 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3942, allocations: 1 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.3943, allocations: 24.14 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3946, allocations: 290 kB / 0.522 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.3947, allocations: 51.11 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.3948, allocations: 18.48 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3948, allocations: 1.547 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.3948, allocations: 31.69 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3948, allocations: 0 / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008504/0.3957, allocations: 236.3 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.3957, allocations: 64.48 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3959, allocations: 202.5 kB / 0.5226 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.3959, allocations: 25.7 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.396, allocations: 109 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.396, allocations: 29.12 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.396, allocations: 20.5 kB / 0.5227 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3962, allocations: 322.8 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.3963, allocations: 22.08 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/0.3963, allocations: 30.69 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3965, allocations: 64.3 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3965, allocations: 0 / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002109/0.3967, allocations: 92.56 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3967, allocations: 6.047 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3968, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3968, allocations: 1.344 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3969, allocations: 16.36 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3969, allocations: 5.75 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.397, allocations: 13.02 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.397, allocations: 5.219 kB / 0.5233 GB, free: 15.68 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.337e-05/0.3971, allocations: 123.6 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3971, allocations: 12.5 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3974, allocations: 118 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3974, allocations: 2.094 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3974, allocations: 3.938 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3974, allocations: 2.266 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.398, allocations: 410.4 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.398, allocations: 6.359 kB / 0.5239 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.398, allocations: 19.41 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3981, allocations: 1.5 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3981, allocations: 2.125 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3981, allocations: 5.203 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3981, allocations: 0.9375 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.3983, allocations: 202.7 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3984, allocations: 87.88 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3984, allocations: 2.938 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3985, allocations: 12.75 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3985, allocations: 13.73 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3986, allocations: 6.219 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3987, allocations: 156.7 kB / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3987, allocations: 0 / 0.5244 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.399, allocations: 19.02 kB / 0.5244 GB, free: 14.73 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.001388/0.4004, allocations: 1.081 MB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.4006, allocations: 68.86 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4006, allocations: 0 / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.4007, allocations: 38.97 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4011, allocations: 14.44 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.4029, allocations: 1.648 MB / 0.5272 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.4031, allocations: 0.7141 MB / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.4032, allocations: 14.44 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.4033, allocations: 27.47 kB / 0.528 GB, free: 11.8 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4033, allocations: 0 / 0.528 GB, free: 11.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.4257, allocations: 3.018 MB / 0.5309 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.25, allocations: 18.03 kB / 0.5309 GB, free: 10.51 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches