Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 116.2 kB / 17.78 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.002307/0.002307, 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.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 83.8 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3749, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002928/0.3779, allocations: 1.614 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3789, allocations: 0.5442 MB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.379, allocations: 1.312 kB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.3794, allocations: 97.73 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3797, allocations: 110.5 kB / 0.5329 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3801, allocations: 122.2 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3803, allocations: 86.56 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3804, allocations: 16.64 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.3805, allocations: 36.84 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3806, allocations: 56.28 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3807, allocations: 3.844 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3808, allocations: 43.83 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.3809, allocations: 25.19 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.3809, allocations: 33.69 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3812, allocations: 122.5 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3812, allocations: 4.875 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3812, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3812, allocations: 1.156 kB / 0.5334 GB, free: 11.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005656/0.3818, allocations: 425.1 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3818, allocations: 9.406 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.3819, allocations: 32.5 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3819, allocations: 13.78 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3822, allocations: 200.9 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3822, allocations: 5.688 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3822, allocations: 11.08 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3824, allocations: 57.97 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3824, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3824, allocations: 4 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3824, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3825, allocations: 31.09 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3829, allocations: 301.7 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3831, allocations: 48.42 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.3831, allocations: 21.11 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3832, allocations: 0 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3832, allocations: 36.02 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3832, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000918/0.3841, allocations: 255.3 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3842, allocations: 52.78 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3844, allocations: 233.6 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3844, allocations: 27.08 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.3845, allocations: 109.6 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3846, allocations: 27.88 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.3846, allocations: 23.2 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3848, allocations: 331 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.3849, allocations: 28.48 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.3849, allocations: 28.47 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3852, allocations: 70.86 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3852, allocations: 0 / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002522/0.3854, allocations: 121.7 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3855, allocations: 8.062 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3855, allocations: 5.062 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3855, allocations: 4.938 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3856, allocations: 17.42 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3856, allocations: 5 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.3857, allocations: 2.75 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3857, allocations: 1.969 kB / 0.5358 GB, free: 9.078 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.0001292/0.3858, allocations: 134.7 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.3859, allocations: 14.42 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.3862, allocations: 138.5 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3862, allocations: 1 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3862, allocations: 3.938 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3862, allocations: 1.281 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.3868, allocations: 421.2 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3868, allocations: 0 / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.3869, allocations: 21.61 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3869, allocations: 1.094 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.387, allocations: 6.375 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.387, allocations: 0 / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.387, allocations: 1.641 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3873, allocations: 220.7 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.3873, allocations: 97.09 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3873, allocations: 1.094 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.3874, allocations: 6.953 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3875, allocations: 7.891 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3875, allocations: 2.094 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3876, allocations: 187.6 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3876, allocations: 0 / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3879, allocations: 27.83 kB / 0.5371 GB, free: 7.992 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.001443/0.3894, allocations: 1.091 MB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3896, allocations: 74.47 kB / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3896, allocations: 1.344 kB / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3897, allocations: 43.72 kB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3901, allocations: 22.42 kB / 0.5383 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3921, allocations: 1.749 MB / 0.54 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3924, allocations: 0.7139 MB / 0.5407 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.3925, allocations: 21.08 kB / 0.5407 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.3926, allocations: 37.08 kB / 0.5407 GB, free: 4.848 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3926, allocations: 3.938 kB / 0.5407 GB, free: 4.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.4142, allocations: 3.244 MB / 0.5439 GB, free: 3.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.133, allocations: 8.25 kB / 0.5439 GB, free: 3.074 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches