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: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 111.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001275, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1894/0.1894, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09119, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00278/0.09401, allocations: 1.852 MB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.09584, allocations: 1.403 MB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.09593, allocations: 0 / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.09607, allocations: 35.72 kB / 484.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.09615, allocations: 31.66 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.0974, allocations: 0.5766 MB / 485.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.09768, allocations: 279.2 kB / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.09779, allocations: 44.3 kB / 485.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.09798, allocations: 123.6 kB / 485.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.09818, allocations: 167.5 kB / 486 MB, free: 28 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.09823, allocations: 27.94 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009394/0.09918, allocations: 0.8111 MB / 486.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.0993, allocations: 115.7 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.09943, allocations: 139.1 kB / 487 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009001/0.1003, allocations: 1.071 MB / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1003, allocations: 0 / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1004, allocations: 4 kB / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1004, allocations: 4 kB / 488.1 MB, free: 13.86 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.001003/0.1014, allocations: 0.7322 MB / 488.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.1014, allocations: 8.031 kB / 488.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1016, allocations: 40.55 kB / 488.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1019, allocations: 288 kB / 489.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1019, allocations: 12 kB / 489.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.102, allocations: 31.84 kB / 489.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1024, allocations: 263.2 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1024, allocations: 4 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1025, allocations: 4 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1025, allocations: 8 kB / 489.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.1028, allocations: 223.8 kB / 489.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1039, allocations: 0.746 MB / 490.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.1043, allocations: 292.9 kB / 490.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.1046, allocations: 197.6 kB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1047, allocations: 0 / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1047, allocations: 46.88 kB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.1047, allocations: 0 / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008771/0.1056, allocations: 0.5282 MB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1056, allocations: 89.03 kB / 491.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.1059, allocations: 352.5 kB / 492 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.106, allocations: 33.7 kB / 492 MB, free: 9.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.1061, allocations: 140.8 kB / 492.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.1061, allocations: 98.53 kB / 492.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1063, allocations: 125.7 kB / 492.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1064, allocations: 350.8 kB / 492.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.1068, allocations: 284.9 kB / 493 MB, free: 8.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.1072, allocations: 339.5 kB / 493.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/0.1103, allocations: 1.769 MB / 495.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1103, allocations: 0 / 495.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000962/0.1112, allocations: 0.7503 MB / 495.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1113, allocations: 8 kB / 495.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.1113, allocations: 8 kB / 495.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1113, allocations: 3.938 kB / 495.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.1117, allocations: 99.86 kB / 495.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1118, allocations: 11.88 kB / 495.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1119, allocations: 67.12 kB / 496 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.112, allocations: 11.98 kB / 496 MB, free: 5.691 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.0002034/0.1122, allocations: 185.9 kB / 496.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.1123, allocations: 27.62 kB / 496.2 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.1123, allocations: 46.64 kB / 496.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1124, allocations: 4 kB / 496.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1124, allocations: 0 / 496.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1124, allocations: 0 / 496.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.1127, allocations: 337.3 kB / 496.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1128, allocations: 0 / 496.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.1131, allocations: 51.91 kB / 496.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1131, allocations: 0 / 496.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.1131, allocations: 19.92 kB / 496.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1131, allocations: 4 kB / 496.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1132, allocations: 0 / 496.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.114, allocations: 0.7444 MB / 497.4 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1141, allocations: 104.8 kB / 497.5 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.1142, allocations: 19.92 kB / 497.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1144, allocations: 15.98 kB / 497.6 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.1144, allocations: 11.98 kB / 497.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1145, allocations: 8 kB / 497.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1147, allocations: 227 kB / 497.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1147, allocations: 0 / 497.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006111/0.1153, allocations: 251.9 kB / 498 MB, free: 3.566 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.0004144/0.1157, allocations: 256.8 kB / 498.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.1166, allocations: 0.7336 MB / 499 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1166, allocations: 0 / 499 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.1169, allocations: 191.8 kB / 499.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.1174, allocations: 45.44 kB / 499.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1187, allocations: 0.9463 MB / 0.4885 GB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1191, allocations: 0.8067 MB / 0.4893 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.1192, allocations: 70.25 kB / 0.4893 GB, free: 444 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.1193, allocations: 23.44 kB / 0.4894 GB, free: 420 kB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1193, allocations: 0 / 0.4894 GB, free: 420 kB / 366.1 MB Notification: Performance of Templates: time 0.00981/0.1291, allocations: 6.49 MB / 0.4957 GB, free: 9.934 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/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