Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1979/0.1979, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.53 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002841/0.1043, allocations: 1.823 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1062, allocations: 1.333 MB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.1063, allocations: 4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1064, allocations: 31.72 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.1065, allocations: 35.66 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1079, allocations: 0.5533 MB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1082, allocations: 287.3 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1083, allocations: 48.28 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1084, allocations: 115.6 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1087, allocations: 167.5 kB / 473.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.1087, allocations: 20 kB / 473.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.1096, allocations: 0.7604 MB / 474.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1098, allocations: 119.6 kB / 474.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1099, allocations: 143.1 kB / 474.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1109, allocations: 1.068 MB / 475.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1109, allocations: 4 kB / 475.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.111, allocations: 4 kB / 475.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.111, allocations: 0 / 475.9 MB, free: 7.773 MB / 350.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.001198/0.1122, allocations: 0.7166 MB / 476.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1122, allocations: 12.03 kB / 476.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.1123, allocations: 50.73 kB / 476.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.1124, allocations: 32.56 kB / 476.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1127, allocations: 287.8 kB / 476.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1127, allocations: 8 kB / 476.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.1128, allocations: 27.91 kB / 477 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.1132, allocations: 275.2 kB / 477.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1133, allocations: 3.938 kB / 477.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1133, allocations: 4 kB / 477.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.984e-06/0.1133, allocations: 8 kB / 477.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.1137, allocations: 219.8 kB / 477.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1149, allocations: 0.7616 MB / 478.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.1154, allocations: 288.9 kB / 478.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.1157, allocations: 189.6 kB / 478.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1157, allocations: 7.938 kB / 478.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1157, allocations: 38.94 kB / 478.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.724e-06/0.1158, allocations: 0 / 478.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009933/0.1168, allocations: 0.5437 MB / 479.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1168, allocations: 81.11 kB / 479.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.1172, allocations: 348.5 kB / 479.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1172, allocations: 29.7 kB / 479.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.1173, allocations: 144.8 kB / 479.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.1174, allocations: 102.5 kB / 480 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1176, allocations: 117.7 kB / 480.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1177, allocations: 350.8 kB / 480.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.1182, allocations: 284.8 kB / 480.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.1186, allocations: 343.5 kB / 481.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.1221, allocations: 1.764 MB / 482.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1222, allocations: 0 / 482.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001108/0.1233, allocations: 0.7657 MB / 483.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1233, allocations: 8 kB / 483.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.1233, allocations: 4 kB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1234, allocations: 4 kB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.1239, allocations: 99.86 kB / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1239, allocations: 4 kB / 483.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1241, allocations: 63.12 kB / 483.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.1241, allocations: 15.94 kB / 483.8 MB, free: 15.56 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.0002385/0.1244, allocations: 185.6 kB / 484 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.1245, allocations: 35.56 kB / 484 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.1246, allocations: 38.7 kB / 484 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1246, allocations: 4 kB / 484 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1246, allocations: 0 / 484 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1246, allocations: 4 kB / 484 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.125, allocations: 333.2 kB / 484.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.125, allocations: 3.938 kB / 484.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.1254, allocations: 47.91 kB / 484.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1254, allocations: 4 kB / 484.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.1254, allocations: 19.98 kB / 484.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1254, allocations: 4 kB / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1254, allocations: 4 kB / 484.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.1264, allocations: 0.7329 MB / 485.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.1265, allocations: 108.8 kB / 485.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.1266, allocations: 15.98 kB / 485.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1268, allocations: 12 kB / 485.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.1269, allocations: 19.97 kB / 485.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1269, allocations: 4 kB / 485.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1271, allocations: 223 kB / 485.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1271, allocations: 4 kB / 485.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008082/0.1279, allocations: 259.8 kB / 485.8 MB, free: 13.44 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.001612/0.1296, allocations: 1.43 MB / 487.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009997/0.1306, allocations: 0.7523 MB / 488 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1306, allocations: 4 kB / 488 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.131, allocations: 187.8 kB / 488.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.1314, allocations: 47.56 kB / 488.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.1389, allocations: 4.5 MB / 492.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.1395, allocations: 0.8028 MB / 493.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.1398, allocations: 66.25 kB / 493.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.14, allocations: 107.4 kB / 493.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.14, allocations: 0 / 493.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.1696, allocations: 10.01 MB / 0.4919 GB, free: 11.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/7.909, allocations: 6.75 kB / 0.4919 GB, free: 11.5 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches