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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 80.98 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.07/1.07, allocations: 158.6 MB / 185.9 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1386/0.1386, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.449e-05, allocations: 12.22 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003222/0.003257, allocations: 1.826 MB / 349.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.005621, allocations: 1.295 MB / 351.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.005778, allocations: 0 / 351.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.00599, allocations: 35.66 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.006084, allocations: 31.72 kB / 351.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.00809, allocations: 0.6815 MB / 352 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.0084, allocations: 231.3 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.008541, allocations: 36.5 kB / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.008801, allocations: 139.6 kB / 352.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.009016, allocations: 147.7 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.00907, allocations: 24 kB / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.01093, allocations: 1.224 MB / 353.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.01106, allocations: 119.6 kB / 353.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.01116, allocations: 87.73 kB / 354 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.01248, allocations: 1.13 MB / 355.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01249, allocations: 0 / 355.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01249, allocations: 0 / 355.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.0125, allocations: 0 / 355.1 MB, free: 2.172 MB / 282.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.001043/0.01354, allocations: 0.748 MB / 355.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.01359, allocations: 12.03 kB / 355.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.01368, allocations: 40.7 kB / 355.9 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.01395, allocations: 216.7 kB / 356.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.01398, allocations: 12.38 kB / 356.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.01405, allocations: 27.88 kB / 356.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.01438, allocations: 217 kB / 356.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.0144, allocations: 0 / 356.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.01442, allocations: 11.97 kB / 356.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.01443, allocations: 8 kB / 356.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.01457, allocations: 50.08 kB / 356.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.01546, allocations: 0.6468 MB / 357.1 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.01572, allocations: 138.1 kB / 357.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.01585, allocations: 67.34 kB / 357.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.01588, allocations: 4 kB / 357.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.01592, allocations: 41.33 kB / 357.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.903e-06/0.01592, allocations: 0 / 357.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005477/0.01647, allocations: 213.5 kB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.01652, allocations: 85.11 kB / 357.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.01689, allocations: 386.2 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.01692, allocations: 29.7 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.01704, allocations: 199.6 kB / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.842e-05/0.01714, allocations: 107.1 kB / 358.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.01734, allocations: 147.2 kB / 358.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.01756, allocations: 0.5235 MB / 359 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.01773, allocations: 80.95 kB / 359.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.01794, allocations: 145.2 kB / 359.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.0185, allocations: 382.8 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.0185, allocations: 4 kB / 359.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006047/0.01911, allocations: 380.3 kB / 360 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.01913, allocations: 8 kB / 360 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.01915, allocations: 7.938 kB / 360 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01917, allocations: 4 kB / 360 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.01957, allocations: 87.89 kB / 360.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01958, allocations: 4 kB / 360.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.01974, allocations: 63.36 kB / 360.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.01978, allocations: 15.98 kB / 360.1 MB, free: 12.86 MB / 298.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.000241/0.02002, allocations: 194.3 kB / 360.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.02011, allocations: 35.81 kB / 360.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.02019, allocations: 42.77 kB / 360.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.0202, allocations: 0 / 360.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.0202, allocations: 0 / 360.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.02021, allocations: 7.984 kB / 360.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.02054, allocations: 197 kB / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.02054, allocations: 0 / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.02087, allocations: 47.91 kB / 360.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.02088, allocations: 4 kB / 360.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.02093, allocations: 11.98 kB / 360.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.02093, allocations: 0 / 360.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.02093, allocations: 4 kB / 360.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.02171, allocations: 0.5148 MB / 361.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.02175, allocations: 31.7 kB / 361.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.02182, allocations: 15.98 kB / 361.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.02203, allocations: 8 kB / 361.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.02212, allocations: 23.91 kB / 361.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.02214, allocations: 4 kB / 361.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.02235, allocations: 222.9 kB / 361.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02235, allocations: 0 / 361.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009228/0.02327, allocations: 251.7 kB / 361.7 MB, free: 11.19 MB / 298.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.0005765/0.02384, allocations: 282.7 kB / 362 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005949/0.02444, allocations: 389 kB / 362.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.02444, allocations: 0 / 362.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.02461, allocations: 83.52 kB / 362.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.02512, allocations: 39.75 kB / 362.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.02658, allocations: 0.7282 MB / 363.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.02673, allocations: 120.3 kB / 363.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.02684, allocations: 17.95 kB / 363.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.02706, allocations: 122.2 kB / 363.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02706, allocations: 0 / 363.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of Templates: time 0.01146/0.03852, allocations: 7.662 MB / 371.2 MB, free: 1.715 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5194889223203063]