Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 197.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 76.09 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4141, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003889/0.4181, allocations: 1.611 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4192, allocations: 0.5594 MB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.4193, allocations: 3.75 kB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.4195, allocations: 27.64 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.4198, allocations: 69.08 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.4201, allocations: 123.4 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.4203, allocations: 72.23 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4204, allocations: 15.67 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.4205, allocations: 26.34 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.4206, allocations: 29.12 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4206, allocations: 3.781 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.4208, allocations: 105.2 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.4209, allocations: 20.16 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.4209, allocations: 25.23 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.4213, allocations: 136.9 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/0.4213, allocations: 3.984 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4213, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4213, allocations: 5.094 kB / 0.5333 GB, free: 11.32 MB / 398.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.0005584/0.4219, allocations: 412.4 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4219, allocations: 9 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.422, allocations: 32 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.422, allocations: 12.39 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.4222, allocations: 194.4 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.4223, allocations: 1.844 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.4223, allocations: 1.719 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4225, allocations: 72.77 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4225, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4225, allocations: 1.219 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4225, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/0.4226, allocations: 30.88 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.4231, allocations: 287.2 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.4232, allocations: 55.2 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.4233, allocations: 24.34 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4233, allocations: 4 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.4233, allocations: 36.31 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4233, allocations: 3.938 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000688/0.424, allocations: 181.7 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.4241, allocations: 78.3 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.4243, allocations: 158.2 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4243, allocations: 26.61 kB / 0.5348 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.4244, allocations: 96.03 kB / 0.5349 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4244, allocations: 18.61 kB / 0.5349 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.4245, allocations: 27.8 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4246, allocations: 325.7 kB / 0.5353 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.4247, allocations: 24.11 kB / 0.5353 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.4248, allocations: 48.94 kB / 0.5354 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.425, allocations: 77.88 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.425, allocations: 0 / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002634/0.4253, allocations: 110.9 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4253, allocations: 7.844 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4253, allocations: 0 / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4253, allocations: 1.375 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4254, allocations: 21.77 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4255, allocations: 0 / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.4255, allocations: 16.05 kB / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4255, allocations: 2.75 kB / 0.5356 GB, free: 9.129 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 0.0001019/0.4256, allocations: 121.8 kB / 0.5357 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.4257, allocations: 8.078 kB / 0.5357 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.426, allocations: 117.3 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.426, allocations: 0 / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.426, allocations: 1.375 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.426, allocations: 4.219 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.4266, allocations: 397.6 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4266, allocations: 1.375 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.4266, allocations: 14.98 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4267, allocations: 5.312 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4267, allocations: 9.359 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4267, allocations: 0 / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4267, allocations: 3.938 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.427, allocations: 191 kB / 0.5364 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.427, allocations: 87.17 kB / 0.5365 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.4271, allocations: 4.906 kB / 0.5365 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.4271, allocations: 11.22 kB / 0.5365 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.4272, allocations: 6.109 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.4272, allocations: 2.156 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.4273, allocations: 110.7 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4273, allocations: 1.156 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.4276, allocations: 49.36 kB / 0.5367 GB, free: 8.121 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 (7): * Single equations (assignments): 7 * 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.001583/0.4292, allocations: 1.123 MB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.4295, allocations: 78.08 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4295, allocations: 0 / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.4296, allocations: 37.33 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.43, allocations: 21.62 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4318, allocations: 1.538 MB / 0.5394 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.4321, allocations: 0.6949 MB / 0.5401 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.4322, allocations: 27.14 kB / 0.5401 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.4322, allocations: 26.7 kB / 0.5401 GB, free: 5.078 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4322, allocations: 0 / 0.5401 GB, free: 5.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.4557, allocations: 3.498 MB / 0.5436 GB, free: 3.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.246, allocations: 9.656 kB / 0.5436 GB, free: 3.102 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches