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.0002188/0.0002188, 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.0002271/0.0002271, 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.1457/0.1457, 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.0141/0.0141, 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 4.789e-06/4.789e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.464e-05/4.943e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay1): time 0.002517/0.002567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002368/0.004935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.005084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.005238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.005327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.006976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0004498/0.007425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.007527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.007891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.008195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.008265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.009817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.01006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001752/0.01197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.396e-05/0.01205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.805e-06/0.01206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.064e-05/0.01207, 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.001374/0.01344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.698e-05/0.01352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.01376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.01415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.01419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.0143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.01489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.01491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.01497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.01498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.01544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.01676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.01721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.01739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.0177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.01775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=96): time 9.628e-06/0.01775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=96): time 0.0009673/0.01872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.01875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.01905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.01911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.01936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.0196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.367e-05/0.01962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.01985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.02007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.02102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.02103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=198) (initialization): time 0.0009538/0.02198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.02202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.02208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.02273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.02275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.02297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.02306, 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.0004454/0.0235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.02361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.02515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.02516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.02517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.02518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.02696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.02697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.02755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.02756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/0.02765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.02766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.02766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.02847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.02854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.02873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.02918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.02924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001794/0.02942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.316e-05/0.02943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001109/0.03054, 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.0005551/0.0311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0009489/0.03204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.03228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.03313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.03482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.03501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001666/0.03518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.0356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.707e-05/0.03563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002493/0.03812, 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.8928951132111251]