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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.28 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3324/0.3324, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 59.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.128, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003621/0.1317, allocations: 1.887 MB / 488.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1339, allocations: 1.467 MB / 490.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.134, allocations: 0 / 490.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1342, allocations: 27.78 kB / 490.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.1343, allocations: 15.84 kB / 490.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1356, allocations: 495 kB / 490.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.1359, allocations: 271.3 kB / 491.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1361, allocations: 44.28 kB / 491.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1362, allocations: 103.6 kB / 491.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1365, allocations: 163.4 kB / 491.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.1365, allocations: 16 kB / 491.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.1376, allocations: 0.7252 MB / 492.2 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1377, allocations: 103.7 kB / 492.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1379, allocations: 135.1 kB / 492.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1393, allocations: 1.056 MB / 493.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1393, allocations: 0 / 493.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1393, allocations: 0 / 493.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1393, allocations: 0 / 493.5 MB, free: 6.047 MB / 378.7 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.001321/0.1406, allocations: 0.7245 MB / 494.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1407, allocations: 8.031 kB / 494.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.843e-05/0.1408, allocations: 32.5 kB / 494.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1411, allocations: 284 kB / 494.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1411, allocations: 16 kB / 494.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.1412, allocations: 27.91 kB / 494.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.1416, allocations: 275.1 kB / 494.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1417, allocations: 4 kB / 494.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1417, allocations: 4 kB / 494.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1417, allocations: 4 kB / 494.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.1421, allocations: 219.8 kB / 495.1 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1434, allocations: 0.7577 MB / 495.8 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.144, allocations: 288.9 kB / 496.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1443, allocations: 185.6 kB / 496.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.1444, allocations: 8 kB / 496.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1444, allocations: 38.5 kB / 496.3 MB, free: 3.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.034e-06/0.1444, allocations: 3.938 kB / 496.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001072/0.1455, allocations: 0.5364 MB / 496.9 MB, free: 2.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1455, allocations: 85.05 kB / 496.9 MB, free: 2.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.1459, allocations: 344.5 kB / 497.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.1459, allocations: 37.7 kB / 497.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.146, allocations: 140.8 kB / 497.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.1461, allocations: 98.53 kB / 497.6 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.1463, allocations: 125.7 kB / 497.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1464, allocations: 346.8 kB / 498 MB, free: 1.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.1469, allocations: 288.8 kB / 498.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.1474, allocations: 351.2 kB / 498.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.1514, allocations: 1.76 MB / 0.4887 GB, free: 14.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1514, allocations: 0 / 0.4887 GB, free: 14.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001159/0.1526, allocations: 0.758 MB / 0.4894 GB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1526, allocations: 12 kB / 0.4894 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.1526, allocations: 4 kB / 0.4894 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1527, allocations: 0 / 0.4894 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.1532, allocations: 99.86 kB / 0.4895 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1532, allocations: 0 / 0.4895 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1535, allocations: 67.12 kB / 0.4896 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.1535, allocations: 19.92 kB / 0.4896 GB, free: 13.88 MB / 394.7 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.0002347/0.1537, allocations: 184.6 kB / 0.4898 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.1538, allocations: 27.56 kB / 0.4898 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.154, allocations: 42.7 kB / 0.4899 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.154, allocations: 4 kB / 0.4899 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.154, allocations: 0 / 0.4899 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.154, allocations: 0 / 0.4899 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1544, allocations: 337.1 kB / 0.4902 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1545, allocations: 4 kB / 0.4902 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.1549, allocations: 51.91 kB / 0.4902 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1549, allocations: 0 / 0.4902 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.1549, allocations: 15.98 kB / 0.4902 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.155, allocations: 7.938 kB / 0.4903 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.155, allocations: 0 / 0.4903 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/0.1597, allocations: 3.175 MB / 0.4934 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.1598, allocations: 104.8 kB / 0.4935 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1598, allocations: 15.98 kB / 0.4935 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.1601, allocations: 12 kB / 0.4935 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.1601, allocations: 19.97 kB / 0.4935 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1601, allocations: 4 kB / 0.4935 GB, free: 9.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1603, allocations: 223 kB / 0.4937 GB, free: 9.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.4937 GB, free: 9.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008655/0.1612, allocations: 268 kB / 0.494 GB, free: 9.203 MB / 394.7 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.000466/0.1617, allocations: 266.9 kB / 0.4942 GB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009023/0.1626, allocations: 0.7289 MB / 0.4949 GB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1626, allocations: 0 / 0.4949 GB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.1629, allocations: 196.8 kB / 0.4951 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1634, allocations: 41.02 kB / 0.4952 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1647, allocations: 1.228 MB / 0.4964 GB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.165, allocations: 0.8109 MB / 0.4972 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.1652, allocations: 78.23 kB / 0.4972 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1653, allocations: 27.44 kB / 0.4973 GB, free: 5.742 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1653, allocations: 0 / 0.4973 GB, free: 5.742 MB / 394.7 MB Notification: Performance of Templates: time 0.2266/0.3919, allocations: 7.238 MB / 0.5043 GB, free: 59.71 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches