Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001163, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, 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.2297/0.2297, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3627, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002901/0.3656, allocations: 1.851 MB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3677, allocations: 1.407 MB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.3678, allocations: 1.5 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.368, allocations: 37.97 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.3681, allocations: 32.19 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3695, allocations: 0.5678 MB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.3698, allocations: 279 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.37, allocations: 55.45 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3702, allocations: 118.5 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3704, allocations: 173.7 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3705, allocations: 27.72 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.3716, allocations: 0.8113 MB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3718, allocations: 120.5 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.372, allocations: 140.6 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.3732, allocations: 1.077 MB / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3732, allocations: 5.047 kB / 0.537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3732, allocations: 0 / 0.537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3732, allocations: 0 / 0.537 GB, free: 8.719 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001315/0.3745, allocations: 0.7354 MB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3746, allocations: 9.438 kB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.167e-05/0.3747, allocations: 47.17 kB / 0.5378 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.3749, allocations: 43.16 kB / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.3753, allocations: 291 kB / 0.5381 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3753, allocations: 15.09 kB / 0.5381 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.3754, allocations: 27.48 kB / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.3759, allocations: 266.2 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3759, allocations: 3.938 kB / 0.5384 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.3759, allocations: 5.781 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3759, allocations: 2.906 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3764, allocations: 225.2 kB / 0.5386 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3777, allocations: 0.7519 MB / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.3782, allocations: 283.1 kB / 0.5397 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.3785, allocations: 200.6 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3785, allocations: 1.344 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3786, allocations: 37.25 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.3786, allocations: 0 / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001067/0.3796, allocations: 0.542 MB / 0.5404 GB, free: 6.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3797, allocations: 87.97 kB / 0.5405 GB, free: 6.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.3801, allocations: 349.8 kB / 0.5408 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.3801, allocations: 35.95 kB / 0.5409 GB, free: 5.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.3802, allocations: 139.9 kB / 0.541 GB, free: 5.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.3803, allocations: 110.4 kB / 0.5411 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3805, allocations: 125.8 kB / 0.5412 GB, free: 5.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3806, allocations: 346.1 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.3811, allocations: 286.7 kB / 0.5418 GB, free: 5.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.3817, allocations: 346.5 kB / 0.5422 GB, free: 4.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.3858, allocations: 1.755 MB / 0.5439 GB, free: 3.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3858, allocations: 0 / 0.5439 GB, free: 3.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001146/0.3869, allocations: 0.7699 MB / 0.5446 GB, free: 3.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.387, allocations: 6.188 kB / 0.5446 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.387, allocations: 7.938 kB / 0.5446 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.387, allocations: 4 kB / 0.5446 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.3875, allocations: 99.86 kB / 0.5447 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3876, allocations: 4 kB / 0.5447 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3878, allocations: 63.36 kB / 0.5448 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3878, allocations: 15.98 kB / 0.5448 GB, free: 2.844 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002814/0.3881, allocations: 183.7 kB / 0.545 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.3882, allocations: 27.81 kB / 0.545 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.3883, allocations: 46.64 kB / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3883, allocations: 0 / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.3883, allocations: 4 kB / 0.5451 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3884, allocations: 7.938 kB / 0.5451 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3888, allocations: 333.3 kB / 0.5454 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3888, allocations: 4 kB / 0.5454 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.3892, allocations: 51.91 kB / 0.5454 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3892, allocations: 4 kB / 0.5454 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.3892, allocations: 15.92 kB / 0.5455 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3893, allocations: 4 kB / 0.5455 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3893, allocations: 0 / 0.5455 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3904, allocations: 0.7514 MB / 0.5462 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.3904, allocations: 104.9 kB / 0.5463 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.3905, allocations: 23.92 kB / 0.5463 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3907, allocations: 11.98 kB / 0.5463 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.3908, allocations: 11.98 kB / 0.5463 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.3908, allocations: 8 kB / 0.5464 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.391, allocations: 231 kB / 0.5466 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 0 / 0.5466 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001136/0.3922, allocations: 247.8 kB / 0.5468 GB, free: 0.6953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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 (24): * Single equations (assignments): 24 * 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.00199/0.3942, allocations: 1.443 MB / 0.5482 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3953, allocations: 0.7281 MB / 0.5489 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3953, allocations: 4 kB / 0.5489 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3956, allocations: 195.8 kB / 0.5491 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.3961, allocations: 48.98 kB / 0.5492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.4017, allocations: 4.537 MB / 0.5536 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.4021, allocations: 0.8067 MB / 0.5544 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.4023, allocations: 66.25 kB / 0.5544 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4025, allocations: 107.4 kB / 0.5546 GB, free: 8.609 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4025, allocations: 0 / 0.5546 GB, free: 8.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4337, allocations: 10.11 MB / 0.5644 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.816, allocations: 14.64 kB / 0.5644 GB, free: 14.61 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches