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.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.00151/0.00151, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001188/0.001188, allocations: 167.1 kB / 25.61 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9484/0.9484, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.139/0.139, allocations: 32.79 MB / 295.4 MB, free: 15.48 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.242e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.005481/0.005503, allocations: 1.823 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.007569, allocations: 1.317 MB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.007743, allocations: 4 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.007935, allocations: 31.72 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.008, allocations: 27.7 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.009325, allocations: 0.6892 MB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.009559, allocations: 239.2 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.009691, allocations: 32.58 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.009898, allocations: 135.7 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.01007, allocations: 151.7 kB / 381.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.01011, allocations: 24 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.01153, allocations: 1.224 MB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.01171, allocations: 127.6 kB / 383.1 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.01179, allocations: 83.75 kB / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.01302, allocations: 1.133 MB / 384.3 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.01303, allocations: 0 / 384.3 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01303, allocations: 4 kB / 384.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.01303, allocations: 0 / 384.3 MB, free: 18.54 MB / 314.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.0008875/0.01392, allocations: 0.752 MB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.01396, allocations: 11.98 kB / 385.1 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.01411, allocations: 52.69 kB / 385.1 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.01432, allocations: 228.7 kB / 385.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.01434, allocations: 12.36 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.01439, allocations: 27.94 kB / 385.4 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.01463, allocations: 225 kB / 385.6 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01465, allocations: 7.938 kB / 385.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.01466, allocations: 8 kB / 385.6 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01467, allocations: 4 kB / 385.6 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.01476, allocations: 47.47 kB / 385.7 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.01532, allocations: 0.6469 MB / 386.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.01546, allocations: 138 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.01552, allocations: 59.34 kB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01555, allocations: 8 kB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.01556, allocations: 37.39 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.01556, allocations: 0 / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.000308/0.01587, allocations: 223.9 kB / 386.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.0159, allocations: 81.11 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01605, allocations: 386.2 kB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01606, allocations: 33.7 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.01612, allocations: 207.5 kB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.01616, allocations: 103.2 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.01626, allocations: 139.2 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.01633, allocations: 0.5273 MB / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.0164, allocations: 84.95 kB / 388.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.0165, allocations: 149.2 kB / 388.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.01678, allocations: 367.2 kB / 388.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01678, allocations: 0 / 388.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002913/0.01707, allocations: 384.2 kB / 389.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01709, allocations: 8 kB / 389.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.01711, allocations: 4 kB / 389.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01712, allocations: 4 kB / 389.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.01735, allocations: 83.89 kB / 389.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01735, allocations: 4 kB / 389.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.01743, allocations: 63.41 kB / 389.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01745, allocations: 12 kB / 389.3 MB, free: 13.22 MB / 314.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.0001587/0.01761, allocations: 200.3 kB / 389.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.01766, allocations: 39.77 kB / 389.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.01771, allocations: 42.77 kB / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01771, allocations: 7.938 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01772, allocations: 4 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01772, allocations: 3.938 kB / 389.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.0179, allocations: 197 kB / 389.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0179, allocations: 0 / 389.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.01807, allocations: 39.97 kB / 389.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.01808, allocations: 4 kB / 389.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.0181, allocations: 11.98 kB / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.0181, allocations: 4 kB / 389.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.0181, allocations: 4 kB / 389.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.01847, allocations: 0.5219 MB / 390.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.01849, allocations: 31.73 kB / 390.4 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.01853, allocations: 12 kB / 390.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01863, allocations: 11.98 kB / 390.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01867, allocations: 11.97 kB / 390.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.01869, allocations: 8 kB / 390.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.3e-05/0.01877, allocations: 222.9 kB / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01877, allocations: 0 / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006631/0.01944, allocations: 247.7 kB / 390.9 MB, free: 11.55 MB / 314.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.00039/0.01983, allocations: 287.4 kB / 391.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.02014, allocations: 386.7 kB / 391.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.02014, allocations: 4 kB / 391.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.02022, allocations: 81.7 kB / 391.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.02052, allocations: 41.12 kB / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/0.02142, allocations: 0.7209 MB / 392.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.618e-05/0.02148, allocations: 120.1 kB / 392.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.102e-05/0.02156, allocations: 21.94 kB / 392.6 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.02169, allocations: 122.1 kB / 392.7 MB, free: 9.703 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02169, allocations: 3.938 kB / 392.7 MB, free: 9.699 MB / 314.7 MB Notification: Performance of Templates: time 0.009224/0.03092, allocations: 7.718 MB / 400.4 MB, free: 2.039 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] 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","",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.56028422806412]