Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, 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.2272/0.2272, allocations: 46.12 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 83.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3157, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003174/0.319, allocations: 1.601 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3208, allocations: 1.162 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3209, allocations: 2.281 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3211, allocations: 31.81 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3214, allocations: 77.47 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3218, allocations: 118.6 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3219, allocations: 62.02 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.322, allocations: 16.23 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.3221, allocations: 29.48 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3222, allocations: 34.78 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3222, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.3224, allocations: 98.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.3225, allocations: 12.06 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3225, allocations: 23.98 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3228, allocations: 143.4 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3228, allocations: 8 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3228, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3228, allocations: 0 / 0.5339 GB, free: 10.81 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.0005274/0.3234, allocations: 400.9 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3234, allocations: 9.625 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.3234, allocations: 30.75 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3235, allocations: 9.016 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3237, allocations: 197.8 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3237, allocations: 4.312 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3238, allocations: 3.125 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3239, allocations: 71.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.324, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.324, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.324, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.3241, allocations: 25.67 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3245, allocations: 290.8 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3247, allocations: 49.58 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.3248, allocations: 12.2 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3248, allocations: 7.938 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3249, allocations: 36.52 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3249, allocations: 0 / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005884/0.3255, allocations: 146.4 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.3255, allocations: 86.22 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3257, allocations: 144.6 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3257, allocations: 26.73 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3258, allocations: 94.8 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3258, allocations: 18.59 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.3259, allocations: 22.81 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.326, allocations: 323.9 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.3261, allocations: 20.52 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-05/0.3262, allocations: 35.64 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3264, allocations: 59.44 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3264, allocations: 5.188 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.3266, allocations: 83.31 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3266, allocations: 5.25 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3266, allocations: 0 / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3266, allocations: 3.984 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.3267, allocations: 14.05 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3267, allocations: 5.125 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.3268, allocations: 11.23 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3268, allocations: 5.094 kB / 0.5361 GB, free: 8.688 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 0.0001193/0.3269, allocations: 114.5 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.327, allocations: 7.203 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3272, allocations: 96.89 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3273, allocations: 0 / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3273, allocations: 1.25 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3273, allocations: 3.938 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.3278, allocations: 363.4 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3278, allocations: 0 / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.3279, allocations: 17.7 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3279, allocations: 1.312 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3279, allocations: 3.938 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3279, allocations: 1.531 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3279, allocations: 4 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3282, allocations: 186.2 kB / 0.5369 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3282, allocations: 88 kB / 0.5369 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3283, allocations: 3.938 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.3284, allocations: 7.859 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3284, allocations: 2.281 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3284, allocations: 1.188 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3285, allocations: 120.5 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3285, allocations: 4 kB / 0.5371 GB, free: 7.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.3288, allocations: 35.94 kB / 0.5371 GB, free: 7.727 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.002189/0.331, allocations: 1.099 MB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3313, allocations: 67.17 kB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3313, allocations: 1.344 kB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.3314, allocations: 24.27 kB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3317, allocations: 17.95 kB / 0.5383 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3335, allocations: 1.444 MB / 0.5397 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3339, allocations: 0.7023 MB / 0.5404 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.959e-05/0.334, allocations: 26.14 kB / 0.5404 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.3341, allocations: 29.95 kB / 0.5404 GB, free: 4.742 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3341, allocations: 0 / 0.5404 GB, free: 4.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3631, allocations: 3.237 MB / 0.5436 GB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.303, allocations: 10.36 kB / 0.5436 GB, free: 2.875 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches