Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 105 kB / 16.27 MB, free: 5.93 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.001429/0.001429, allocations: 191.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2259/0.2259, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 69.52 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003349/0.1271, allocations: 1.828 MB / 442.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1293, allocations: 1.369 MB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.1295, allocations: 4 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1297, allocations: 27.72 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.1298, allocations: 39.59 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1312, allocations: 0.5611 MB / 444.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1314, allocations: 275.4 kB / 444.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1316, allocations: 44.58 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1317, allocations: 111.6 kB / 444.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1319, allocations: 175.4 kB / 444.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.132, allocations: 24 kB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000853/0.1328, allocations: 0.7604 MB / 445.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.133, allocations: 111.7 kB / 445.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1331, allocations: 135.2 kB / 446 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000981/0.1341, allocations: 1.075 MB / 447 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.1341, allocations: 0 / 447 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1341, allocations: 0 / 447 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1341, allocations: 4 kB / 447 MB, free: 352 kB / 318.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.00131/0.1354, allocations: 0.7244 MB / 447.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1355, allocations: 11.89 kB / 447.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.1356, allocations: 28.56 kB / 447.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.1359, allocations: 295.9 kB / 448.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1359, allocations: 12 kB / 448.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.136, allocations: 27.98 kB / 448.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1365, allocations: 271.2 kB / 448.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1365, allocations: 0 / 448.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1366, allocations: 4 kB / 448.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1366, allocations: 4 kB / 448.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.137, allocations: 235.7 kB / 448.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1383, allocations: 0.746 MB / 449.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.1389, allocations: 292.9 kB / 449.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.1392, allocations: 193.5 kB / 449.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1392, allocations: 4 kB / 449.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.1393, allocations: 38.5 kB / 449.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.1393, allocations: 4 kB / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009835/0.1403, allocations: 0.5286 MB / 450.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.1403, allocations: 85.09 kB / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.1407, allocations: 352.5 kB / 450.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1408, allocations: 29.7 kB / 450.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.141, allocations: 140.8 kB / 451 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/0.1411, allocations: 106.5 kB / 451.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.1413, allocations: 125.7 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.1416, allocations: 346.7 kB / 451.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.1421, allocations: 292.6 kB / 451.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.1425, allocations: 343.3 kB / 452.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.1461, allocations: 1.768 MB / 454 MB, free: 9.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1461, allocations: 0 / 454 MB, free: 9.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001232/0.1473, allocations: 0.7658 MB / 454.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1474, allocations: 8 kB / 454.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.1474, allocations: 4 kB / 454.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1474, allocations: 0 / 454.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.148, allocations: 99.88 kB / 454.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.148, allocations: 7.969 kB / 454.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1482, allocations: 71.12 kB / 454.9 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.1482, allocations: 8 kB / 454.9 MB, free: 8.172 MB / 334.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.0002975/0.1485, allocations: 188 kB / 455.1 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.1486, allocations: 39.45 kB / 455.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.1487, allocations: 34.72 kB / 455.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1488, allocations: 8 kB / 455.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.1488, allocations: 3.984 kB / 455.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1488, allocations: 0 / 455.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1493, allocations: 333.3 kB / 455.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1493, allocations: 0 / 455.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.1496, allocations: 55.84 kB / 455.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1496, allocations: 0 / 455.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.1497, allocations: 15.98 kB / 455.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1497, allocations: 0 / 455.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1497, allocations: 0 / 455.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1508, allocations: 0.7531 MB / 456.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.1509, allocations: 104.7 kB / 456.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1509, allocations: 15.92 kB / 456.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1512, allocations: 12 kB / 456.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1513, allocations: 19.97 kB / 456.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1513, allocations: 8 kB / 456.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1515, allocations: 219 kB / 456.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1515, allocations: 0 / 456.7 MB, free: 6.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007846/0.1523, allocations: 252 kB / 457 MB, free: 6.047 MB / 334.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.0005961/0.1529, allocations: 251.1 kB / 457.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1541, allocations: 0.7522 MB / 458 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1541, allocations: 3.938 kB / 458 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1544, allocations: 199.7 kB / 458.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.1549, allocations: 56.8 kB / 458.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1563, allocations: 0.9244 MB / 459.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1567, allocations: 0.8107 MB / 460 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.1569, allocations: 70.23 kB / 460 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.157, allocations: 19.44 kB / 460 MB, free: 2.887 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.157, allocations: 3.938 kB / 460 MB, free: 2.883 MB / 334.1 MB Notification: Performance of Templates: time 0.01314/0.1702, allocations: 6.516 MB / 466.6 MB, free: 12.38 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches