Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0002845/0.0002845, allocations: 0 / 0, free: 0 / 0 " [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.0001958/0.0001958, allocations: 0 / 0, free: 0 / 0 " [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.1922/0.1922, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.03538/0.03538, allocations: 0 / 0, free: 0 / 0 " [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: simulate(ModelicaTest.Blocks.PadeDelay1,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Blocks.PadeDelay1,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.716e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay1): time 0.002345/0.002372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002019/0.004391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.00446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.004578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.004657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.006013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003068/0.006319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.006404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.006731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.007006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.007072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.008473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.008665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.008812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001301/0.01011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.779e-05/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.954e-06/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.458e-06/0.01019, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00121/0.0114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.01165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.01203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.01215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.01282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.01284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.0129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.01345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.01489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.01535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.01556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.01581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.01584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=96): time 6.823e-06/0.01585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=96): time 0.0009991/0.01685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.01687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.01709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.01719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.01725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.0175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.01774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.446e-05/0.01775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.01825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/0.01919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=198) (initialization): time 0.0009346/0.02013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.02015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.02017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.02019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.02095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.02096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.02116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.02124, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.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 [10] padeDelay1.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 [10] padeDelay1.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 [10] padeDelayOld1.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelay2.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.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 [10] padeDelay2.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 [10] padeDelay2.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 [10] padeDelayOld2.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] 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 (96): * Single equations (assignments): 92 * 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.0003302/0.02157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.02167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.02296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.02297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.02298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.02298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.02434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.02434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.02506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.02515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.02516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.02593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.02599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.02618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.02646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.02665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.02672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001749/0.0269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.511e-05/0.02691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008644/0.02778, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (padeDelayOld2.x[1],padeDelayOld2.x[2],padeDelayOld2.x[3],padeDelayOld2.x[4],padeDelayOld2.x[5],padeDelayOld2.x[6],padeDelayOld2.x[7],padeDelayOld2.x[8],padeDelayOld2.x[9],padeDelayOld2.x[10],padeDelay2.x[1],padeDelay2.x[2],padeDelay2.x[3],padeDelay2.x[4],padeDelay2.x[5],padeDelay2.x[6],padeDelay2.x[7],padeDelay2.x[8],padeDelay2.x[9],padeDelay2.x[10],padeDelayOld1.x[1],padeDelayOld1.x[2],padeDelayOld1.x[3],padeDelayOld1.x[4],padeDelayOld1.x[5],padeDelayOld1.x[6],padeDelayOld1.x[7],padeDelayOld1.x[8],padeDelayOld1.x[9],padeDelayOld1.x[10],padeDelay1.x[1],padeDelay1.x[2],padeDelay1.x[3],padeDelay1.x[4],padeDelay1.x[5],padeDelay1.x[6],padeDelay1.x[7],padeDelay1.x[8],padeDelay1.x[9],padeDelay1.x[10]) * 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 (52): * Single equations (assignments): 52 * 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.0005225/0.0283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0008018/0.0291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.02935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.03019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.03187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.03206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001433/0.0322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.0326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.438e-05/0.03263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002202/0.03483, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay1/PadeDelay1.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: 0.909188904799521]