Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.00135, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 79.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3694, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003208/0.3726, allocations: 1.61 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3743, allocations: 1.156 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.3744, allocations: 0 / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.3746, allocations: 17.33 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.3749, allocations: 85.17 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.3752, allocations: 94.64 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3754, allocations: 70.95 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.3755, allocations: 7.781 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.3755, allocations: 25.42 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3757, allocations: 35.48 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3757, allocations: 3.875 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3758, allocations: 98 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.3759, allocations: 18.92 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.3759, allocations: 29.33 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3762, allocations: 134.4 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3762, allocations: 4 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3762, allocations: 0 / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3762, allocations: 0 / 0.5338 GB, free: 10.87 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.0004666/0.3767, allocations: 399.5 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3767, allocations: 9.625 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.3768, allocations: 36.11 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3768, allocations: 13.02 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.377, allocations: 204.4 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.377, allocations: 1.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3771, allocations: 1.75 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3772, allocations: 63.72 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3772, allocations: 1.375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3772, allocations: 7.875 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3772, allocations: 1.375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.3773, allocations: 28.34 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.3777, allocations: 272.2 kB / 0.5348 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3779, allocations: 43.06 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.3779, allocations: 19.75 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.378, allocations: 0 / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.378, allocations: 35.94 kB / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.378, allocations: 0 / 0.5349 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005272/0.3785, allocations: 145.9 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3786, allocations: 78.48 kB / 0.5351 GB, free: 9.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3788, allocations: 144.1 kB / 0.5353 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3788, allocations: 27.08 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.3788, allocations: 98.83 kB / 0.5354 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3789, allocations: 17.22 kB / 0.5354 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3789, allocations: 19.22 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.379, allocations: 324.1 kB / 0.5357 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.3791, allocations: 18.98 kB / 0.5357 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.3792, allocations: 30.27 kB / 0.5358 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3793, allocations: 52.23 kB / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3793, allocations: 0 / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.3795, allocations: 85.19 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3795, allocations: 5.5 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3795, allocations: 0 / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3796, allocations: 1.656 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.3796, allocations: 13.61 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3796, allocations: 4 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.3797, allocations: 12.05 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3797, allocations: 1.375 kB / 0.5359 GB, free: 8.77 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.11e-05/0.3798, allocations: 114 kB / 0.536 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3798, allocations: 10.69 kB / 0.5361 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.3801, allocations: 97.17 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3801, allocations: 1.375 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3801, allocations: 4 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3801, allocations: 3.938 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.3805, allocations: 354.1 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3806, allocations: 1.156 kB / 0.5365 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.3806, allocations: 16.81 kB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3806, allocations: 1.125 kB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3807, allocations: 8.922 kB / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3807, allocations: 192 / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3807, allocations: 9.094 kB / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3809, allocations: 171.6 kB / 0.5367 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.381, allocations: 87.2 kB / 0.5368 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.381, allocations: 4.594 kB / 0.5368 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.3811, allocations: 7.031 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3811, allocations: 2.5 kB / 0.5368 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3811, allocations: 9.234 kB / 0.5368 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.3812, allocations: 113.1 kB / 0.5369 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3812, allocations: 0 / 0.5369 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3815, allocations: 39.95 kB / 0.5369 GB, free: 7.805 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.001436/0.383, allocations: 1.084 MB / 0.538 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3832, allocations: 51.84 kB / 0.5381 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3832, allocations: 3.938 kB / 0.5381 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.3833, allocations: 32 kB / 0.5381 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3836, allocations: 20.09 kB / 0.5381 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.3852, allocations: 1.432 MB / 0.5395 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3854, allocations: 0.6978 MB / 0.5402 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.3855, allocations: 18.98 kB / 0.5402 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.3855, allocations: 30.64 kB / 0.5402 GB, free: 4.844 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3855, allocations: 0 / 0.5402 GB, free: 4.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.4084, allocations: 3.2 MB / 0.5434 GB, free: 3.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.945, allocations: 15.03 kB / 0.5434 GB, free: 2.992 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_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_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches