Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.1 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 480.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3889, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003066/0.392, allocations: 1.594 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.393, allocations: 0.5461 MB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.3931, allocations: 1.188 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.3933, allocations: 25.03 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.3936, allocations: 75.88 kB / 0.5327 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3939, allocations: 114 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.394, allocations: 61.17 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.3941, allocations: 12.25 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.3942, allocations: 32.03 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.3943, allocations: 22.73 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3943, allocations: 2.75 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.3944, allocations: 28.62 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.3944, allocations: 24.03 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.3945, allocations: 20 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3946, allocations: 82.81 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3946, allocations: 1.375 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3947, allocations: 0 / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3947, allocations: 0 / 0.5331 GB, free: 11.4 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.0004701/0.3951, allocations: 384.9 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3952, allocations: 12.23 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.3952, allocations: 32.12 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.3953, allocations: 13.02 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3954, allocations: 192.5 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3955, allocations: 1.75 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3955, allocations: 5.75 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3956, allocations: 48.62 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3956, allocations: 1.375 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3957, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3957, allocations: 1.375 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/0.3958, allocations: 29.66 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3962, allocations: 283.2 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3964, allocations: 44.97 kB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.3964, allocations: 16.31 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3965, allocations: 7.875 kB / 0.5341 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3965, allocations: 39.5 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3965, allocations: 1.312 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006017/0.3971, allocations: 155 kB / 0.5343 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3972, allocations: 51.41 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3973, allocations: 160 kB / 0.5345 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3974, allocations: 25.7 kB / 0.5345 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.3974, allocations: 95.3 kB / 0.5346 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3975, allocations: 22.44 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3975, allocations: 18.81 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3976, allocations: 325.3 kB / 0.535 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.3977, allocations: 18.98 kB / 0.535 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.3978, allocations: 20.33 kB / 0.535 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.3979, allocations: 51.17 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3979, allocations: 0 / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.3981, allocations: 91.8 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3981, allocations: 5.969 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3982, allocations: 0 / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3982, allocations: 0 / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.3982, allocations: 14.61 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3983, allocations: 0 / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3983, allocations: 11.59 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3983, allocations: 9.391 kB / 0.5352 GB, free: 9.355 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.802e-05/0.3984, allocations: 114.8 kB / 0.5353 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3984, allocations: 7.516 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.3987, allocations: 100.7 kB / 0.5354 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3987, allocations: 1.031 kB / 0.5354 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3987, allocations: 0 / 0.5354 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3987, allocations: 0 / 0.5354 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.3992, allocations: 359.8 kB / 0.5358 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3992, allocations: 5.531 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.3993, allocations: 12.73 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3993, allocations: 1.438 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3993, allocations: 3.938 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3993, allocations: 5.344 kB / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3993, allocations: 0 / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.3996, allocations: 182.5 kB / 0.536 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3996, allocations: 86.66 kB / 0.536 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3996, allocations: 1.562 kB / 0.536 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.3997, allocations: 10.77 kB / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.3997, allocations: 6.688 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3998, allocations: 1.375 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.3999, allocations: 127.9 kB / 0.5362 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3999, allocations: 0 / 0.5362 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.4001, allocations: 14.94 kB / 0.5362 GB, free: 8.406 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.001317/0.4014, allocations: 1.008 MB / 0.5372 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4017, allocations: 58.2 kB / 0.5372 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4017, allocations: 1.375 kB / 0.5372 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.4017, allocations: 28.42 kB / 0.5373 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4021, allocations: 22.3 kB / 0.5373 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.404, allocations: 1.461 MB / 0.5387 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4044, allocations: 0.6958 MB / 0.5394 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.537e-05/0.4044, allocations: 20.27 kB / 0.5394 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.4045, allocations: 20.69 kB / 0.5394 GB, free: 5.473 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 0 / 0.5394 GB, free: 5.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.4268, allocations: 2.57 MB / 0.5419 GB, free: 4.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.899, allocations: 10.17 kB / 0.542 GB, free: 4.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches