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.001509/0.001509, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 77.11 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002815/0.1066, allocations: 1.851 MB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1085, allocations: 1.403 MB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.881e-05/0.1086, allocations: 0 / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1088, allocations: 35.72 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.1089, allocations: 31.67 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1102, allocations: 0.5728 MB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1105, allocations: 287.2 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1106, allocations: 44.3 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.1108, allocations: 119.6 kB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.111, allocations: 167.5 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.1111, allocations: 24 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.112, allocations: 0.7604 MB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1121, allocations: 119.7 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1123, allocations: 135.2 kB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009475/0.1132, allocations: 1.08 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1132, allocations: 0 / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1133, allocations: 7.938 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1133, allocations: 0 / 486.7 MB, free: 14.54 MB / 366.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.001134/0.1144, allocations: 0.7244 MB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1145, allocations: 12.03 kB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1145, allocations: 50.73 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.1147, allocations: 40.55 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.115, allocations: 279.8 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.115, allocations: 12 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.1151, allocations: 27.91 kB / 487.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.1155, allocations: 263.2 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1155, allocations: 4 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1156, allocations: 11.98 kB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1156, allocations: 4 kB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.116, allocations: 219.8 kB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1171, allocations: 0.7616 MB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1175, allocations: 288.9 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.1178, allocations: 193.6 kB / 489.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1179, allocations: 0 / 489.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1179, allocations: 46.44 kB / 489.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.1179, allocations: 0 / 489.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009576/0.1189, allocations: 0.5403 MB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1189, allocations: 77.11 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1192, allocations: 352.5 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1193, allocations: 33.7 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1194, allocations: 144.8 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.1194, allocations: 98.56 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1196, allocations: 117.7 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1197, allocations: 350.7 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.1201, allocations: 288.8 kB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.1205, allocations: 339.5 kB / 492 MB, free: 9.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.124, allocations: 1.773 MB / 493.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.124, allocations: 0 / 493.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001111/0.1251, allocations: 0.7657 MB / 494.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1252, allocations: 8 kB / 494.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.1252, allocations: 4 kB / 494.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1252, allocations: 4 kB / 494.5 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.1257, allocations: 99.88 kB / 494.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1257, allocations: 0 / 494.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1259, allocations: 67.11 kB / 494.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.126, allocations: 12 kB / 494.7 MB, free: 6.324 MB / 366.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.0002312/0.1262, allocations: 184.3 kB / 494.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.1263, allocations: 31.56 kB / 494.9 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.1264, allocations: 34.72 kB / 494.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1264, allocations: 4 kB / 494.9 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1264, allocations: 0 / 494.9 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.1264, allocations: 7.984 kB / 494.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1268, allocations: 341.2 kB / 495.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1269, allocations: 3.938 kB / 495.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.1272, allocations: 51.91 kB / 495.3 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1272, allocations: 0 / 495.3 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.1273, allocations: 19.98 kB / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1273, allocations: 0 / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1273, allocations: 4 kB / 495.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1283, allocations: 0.746 MB / 496.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.1284, allocations: 108.8 kB / 496.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.1285, allocations: 15.98 kB / 496.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1287, allocations: 16 kB / 496.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.1288, allocations: 19.91 kB / 496.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1288, allocations: 8 kB / 496.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.129, allocations: 223 kB / 496.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.129, allocations: 0 / 496.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007786/0.1298, allocations: 251.9 kB / 496.7 MB, free: 4.191 MB / 366.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.001689/0.1315, allocations: 1.435 MB / 498.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009969/0.1325, allocations: 0.7483 MB / 498.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1326, allocations: 4 kB / 498.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.1329, allocations: 196.9 kB / 499.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.1334, allocations: 41 kB / 499.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/0.1395, allocations: 4.513 MB / 0.4919 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.14, allocations: 0.8067 MB / 0.4926 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.1402, allocations: 70.25 kB / 0.4927 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.1404, allocations: 107.4 kB / 0.4928 GB, free: 12.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1404, allocations: 0 / 0.4928 GB, free: 12.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.1722, allocations: 10.03 MB / 0.5026 GB, free: 2.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.088, allocations: 3.938 kB / 0.5026 GB, free: 2.184 MB / 382.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