Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9584/0.9584, allocations: 177 MB / 204.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.289/0.289, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.583e-05, allocations: 2.312 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002885/0.002911, allocations: 1.847 MB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.005009, allocations: 1.337 MB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.005127, allocations: 7.938 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.0053, allocations: 31.72 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.005377, allocations: 39.64 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.007026, allocations: 0.6776 MB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.007314, allocations: 235.2 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.007448, allocations: 28.58 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.007692, allocations: 143.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.007881, allocations: 155.6 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.007927, allocations: 24 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.009812, allocations: 1.22 MB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.01, allocations: 115.7 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.01012, allocations: 91.73 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.01163, allocations: 1.133 MB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.01164, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01164, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.01165, allocations: 3.938 kB / 385.8 MB, free: 10.95 MB / 362.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.001161/0.01281, allocations: 0.7559 MB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.01286, allocations: 15.97 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.01308, allocations: 48.69 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.01342, allocations: 224.7 kB / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.01344, allocations: 16.38 kB / 386.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.01351, allocations: 31.83 kB / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.0139, allocations: 237 kB / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.01391, allocations: 0 / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.01394, allocations: 4 kB / 387.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.01395, allocations: 4 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.01413, allocations: 63.95 kB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.0152, allocations: 0.7011 MB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.01547, allocations: 142 kB / 388.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.0156, allocations: 75.34 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.01563, allocations: 7.984 kB / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.01566, allocations: 49.77 kB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.01566, allocations: 0 / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.000554/0.01621, allocations: 242 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.01625, allocations: 85.05 kB / 388.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.01657, allocations: 394.3 kB / 388.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.0166, allocations: 29.7 kB / 388.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01671, allocations: 191.6 kB / 389.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.0168, allocations: 103.2 kB / 389.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.01696, allocations: 131.3 kB / 389.3 MB, free: 7.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.01713, allocations: 0.5274 MB / 389.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.01733, allocations: 109 kB / 390 MB, free: 6.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.01756, allocations: 169.3 kB / 390.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.0182, allocations: 436.4 kB / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.0182, allocations: 0 / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008289/0.01903, allocations: 432.3 kB / 391 MB, free: 5.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.01906, allocations: 8 kB / 391 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.01908, allocations: 11.92 kB / 391 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.0191, allocations: 7.938 kB / 391 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.01948, allocations: 91.88 kB / 391.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01948, allocations: 0 / 391.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.01961, allocations: 75.34 kB / 391.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.01964, allocations: 8 kB / 391.2 MB, free: 5.316 MB / 362.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.000212/0.01985, allocations: 201.4 kB / 391.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.01994, allocations: 39.77 kB / 391.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.02, allocations: 42.77 kB / 391.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.02001, allocations: 4 kB / 391.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.02002, allocations: 4 kB / 391.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02002, allocations: 0 / 391.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.02034, allocations: 240.3 kB / 391.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.02034, allocations: 0 / 391.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.02067, allocations: 47.91 kB / 391.7 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.02067, allocations: 0 / 391.7 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.02071, allocations: 15.98 kB / 391.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02071, allocations: 0 / 391.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02072, allocations: 0 / 391.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.02129, allocations: 0.5354 MB / 392.3 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.02133, allocations: 31.75 kB / 392.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.02137, allocations: 11.98 kB / 392.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.02154, allocations: 8 kB / 392.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.0216, allocations: 19.91 kB / 392.4 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.02162, allocations: 8 kB / 392.4 MB, free: 4.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.02178, allocations: 227 kB / 392.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02178, allocations: 0 / 392.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008973/0.02268, allocations: 263.5 kB / 392.9 MB, free: 3.582 MB / 362.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.000508/0.02318, allocations: 279.4 kB / 393.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.02387, allocations: 416.2 kB / 393.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.02388, allocations: 0 / 393.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.02402, allocations: 87.58 kB / 393.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.02446, allocations: 49.05 kB / 393.7 MB, free: 2.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.02565, allocations: 0.7431 MB / 394.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.005e-05/0.02574, allocations: 116.3 kB / 394.5 MB, free: 1.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.02588, allocations: 41.89 kB / 394.6 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.02597, allocations: 24.5 kB / 394.6 MB, free: 1.754 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.02597, allocations: 0 / 394.6 MB, free: 1.754 MB / 362.7 MB Notification: Performance of Templates: time 0.01296/0.03893, allocations: 7.542 MB / 402.1 MB, free: 10.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4588928311131895]