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.001342/0.001342, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 77.69 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1201, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003456/0.1236, allocations: 1.854 MB / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1259, allocations: 1.396 MB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1261, allocations: 7.938 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1263, allocations: 31.72 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.1264, allocations: 31.72 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.128, allocations: 0.565 MB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1283, allocations: 283.3 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1285, allocations: 48.28 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1287, allocations: 119.6 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.129, allocations: 171.4 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.129, allocations: 24 kB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1301, allocations: 0.7604 MB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1303, allocations: 123.7 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1304, allocations: 139.1 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1316, allocations: 1.08 MB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1316, allocations: 4 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1316, allocations: 0 / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1316, allocations: 0 / 486.7 MB, free: 14.58 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.001273/0.1329, allocations: 0.7244 MB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1329, allocations: 12.03 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1332, allocations: 40.55 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.1335, allocations: 287.9 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1336, allocations: 11.98 kB / 487.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.1336, allocations: 31.89 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1341, allocations: 267.2 kB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1342, allocations: 3.938 kB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1342, allocations: 8 kB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1342, allocations: 4 kB / 488.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1346, allocations: 219.8 kB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.1359, allocations: 0.7577 MB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.1364, allocations: 292.9 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.1367, allocations: 189.6 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1367, allocations: 4 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1367, allocations: 46.5 kB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.1367, allocations: 0 / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001035/0.1378, allocations: 0.5325 MB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.1378, allocations: 81.11 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.1382, allocations: 352.5 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1382, allocations: 33.7 kB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1383, allocations: 140.8 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.1384, allocations: 102.5 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1386, allocations: 117.7 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1387, allocations: 350.8 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1391, allocations: 288.8 kB / 491.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.1396, allocations: 339.5 kB / 491.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.1431, allocations: 1.773 MB / 493.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1431, allocations: 0 / 493.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001072/0.1442, allocations: 0.7691 MB / 494.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1442, allocations: 4 kB / 494.4 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.1442, allocations: 11.98 kB / 494.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1442, allocations: 0 / 494.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.1447, allocations: 99.86 kB / 494.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1447, allocations: 8 kB / 494.5 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.1449, allocations: 59.12 kB / 494.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.145, allocations: 16 kB / 494.6 MB, free: 6.406 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.0002626/0.1452, allocations: 185.1 kB / 494.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.1453, allocations: 35.55 kB / 494.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.8e-05/0.1454, allocations: 42.7 kB / 494.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1455, allocations: 4 kB / 494.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1455, allocations: 0 / 494.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1455, allocations: 0 / 494.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1459, allocations: 341.2 kB / 495.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1459, allocations: 0 / 495.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.1463, allocations: 55.84 kB / 495.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1463, allocations: 0 / 495.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.1463, allocations: 15.98 kB / 495.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1463, allocations: 4 kB / 495.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1463, allocations: 0 / 495.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.1473, allocations: 0.7435 MB / 496 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.1474, allocations: 116.8 kB / 496.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.1475, allocations: 11.98 kB / 496.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1477, allocations: 12 kB / 496.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.1478, allocations: 15.97 kB / 496.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1478, allocations: 12 kB / 496.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.148, allocations: 223 kB / 496.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 496.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008369/0.1489, allocations: 247.9 kB / 496.6 MB, free: 4.281 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.0005406/0.1494, allocations: 260.8 kB / 496.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1504, allocations: 0.7522 MB / 497.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1504, allocations: 0 / 497.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.1507, allocations: 187.8 kB / 497.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1512, allocations: 49 kB / 497.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1525, allocations: 0.9359 MB / 498.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1529, allocations: 0.8067 MB / 499.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.153, allocations: 78.22 kB / 499.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1532, allocations: 19.44 kB / 499.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1532, allocations: 3.938 kB / 499.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of Templates: time 0.01203/0.1652, allocations: 6.525 MB / 0.4944 GB, free: 10.6 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches