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: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 105.8 kB / 17.21 MB, free: 6.27 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.001283/0.001283, allocations: 190 kB / 18.12 MB, free: 5.363 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.584/1.584, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2304/0.2304, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 69.14 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 60.81 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003131/0.1254, allocations: 1.896 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1276, allocations: 1.408 MB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.1277, allocations: 11.94 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.1278, allocations: 15.86 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.1279, allocations: 27.78 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.129, allocations: 483.1 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1293, allocations: 267.3 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1294, allocations: 40.3 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1296, allocations: 103.5 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1298, allocations: 167.4 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.1299, allocations: 12 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.1308, allocations: 0.7292 MB / 473.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.131, allocations: 103.7 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1311, allocations: 131.1 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009701/0.1321, allocations: 1.052 MB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1321, allocations: 4 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1321, allocations: 0 / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1321, allocations: 0 / 474.9 MB, free: 8.426 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.00117/0.1333, allocations: 0.7245 MB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1333, allocations: 12.03 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.1334, allocations: 28.56 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1338, allocations: 280 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1338, allocations: 12 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.1339, allocations: 27.91 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1343, allocations: 279.7 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1344, allocations: 3.938 kB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1344, allocations: 8 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1344, allocations: 4 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.1348, allocations: 219.8 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1359, allocations: 0.7616 MB / 477.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.1364, allocations: 284.9 kB / 477.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.1367, allocations: 198 kB / 477.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1367, allocations: 0 / 477.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1368, allocations: 42.5 kB / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.705e-06/0.1368, allocations: 3.984 kB / 477.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.000998/0.1378, allocations: 0.532 MB / 478.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1378, allocations: 81.11 kB / 478.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.1382, allocations: 344.5 kB / 478.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1382, allocations: 41.7 kB / 478.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.1383, allocations: 140.7 kB / 478.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.1384, allocations: 102.5 kB / 479 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1385, allocations: 121.7 kB / 479.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1387, allocations: 346.8 kB / 479.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.1391, allocations: 288.8 kB / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.1396, allocations: 331.5 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.1431, allocations: 1.764 MB / 481.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1431, allocations: 0 / 481.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00112/0.1442, allocations: 0.7696 MB / 482.6 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1442, allocations: 10.17 kB / 482.6 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.1443, allocations: 12 kB / 482.6 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1443, allocations: 0 / 482.6 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.1448, allocations: 95.88 kB / 482.7 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1448, allocations: 4 kB / 482.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.145, allocations: 67.11 kB / 482.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.145, allocations: 12 kB / 482.8 MB, free: 284 kB / 350.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.0002486/0.1453, allocations: 191 kB / 483 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.1454, allocations: 31.56 kB / 483 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.1455, allocations: 38.72 kB / 483.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.1455, allocations: 4 kB / 483.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1455, allocations: 0 / 483.1 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1455, allocations: 3.984 kB / 483.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1459, allocations: 337.3 kB / 483.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.146, allocations: 4 kB / 483.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.1463, allocations: 51.84 kB / 483.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1463, allocations: 0 / 483.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.1464, allocations: 16 kB / 483.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1464, allocations: 3.984 kB / 483.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1464, allocations: 3.938 kB / 483.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.1474, allocations: 0.7368 MB / 484.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.1474, allocations: 112.8 kB / 484.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.1475, allocations: 11.98 kB / 484.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.1477, allocations: 8 kB / 484.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.1478, allocations: 23.91 kB / 484.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1478, allocations: 8 kB / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.148, allocations: 219 kB / 484.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.148, allocations: 0 / 484.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000831/0.1489, allocations: 255.9 kB / 484.8 MB, free: 14.16 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.0005053/0.1494, allocations: 267 kB / 485.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009706/0.1503, allocations: 0.7249 MB / 485.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1504, allocations: 0 / 485.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.1507, allocations: 195.8 kB / 486 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.1512, allocations: 45 kB / 486.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1525, allocations: 1.007 MB / 487.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1529, allocations: 0.8031 MB / 487.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.1531, allocations: 74.23 kB / 487.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.1532, allocations: 19.44 kB / 488 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1532, allocations: 0 / 488 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Templates: time 0.01185/0.1651, allocations: 6.355 MB / 494.3 MB, free: 4.609 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches