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.001942/0.001942, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.001987/0.001987, allocations: 156.9 kB / 24.27 MB, free: 140 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 1.533/1.533, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.3595/0.3595, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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 2.013e-06/2.013e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.527e-05, allocations: 8.641 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003986/0.004021, allocations: 1.815 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.007089, allocations: 1.322 MB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.007333, allocations: 11.94 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.007593, allocations: 39.64 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.007756, allocations: 31.7 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.0102, allocations: 0.6852 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.01066, allocations: 235.3 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.01082, allocations: 32.58 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.01123, allocations: 143.5 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.01155, allocations: 151.7 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.01163, allocations: 20 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.01423, allocations: 1.216 MB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.01443, allocations: 119.6 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.01461, allocations: 91.75 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.01702, allocations: 1.211 MB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01702, allocations: 0 / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01703, allocations: 0 / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.01704, allocations: 0 / 384.3 MB, free: 11.77 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.001817/0.01886, allocations: 0.7711 MB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.0189, allocations: 12.03 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.01918, allocations: 44.75 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.01966, allocations: 232.7 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.01969, allocations: 16.38 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.01976, allocations: 27.88 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.02029, allocations: 240.3 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.0203, allocations: 0 / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.02033, allocations: 4 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.02034, allocations: 4 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.02066, allocations: 99.89 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.02219, allocations: 0.7284 MB / 386.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.02257, allocations: 162 kB / 386.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.02278, allocations: 91.33 kB / 386.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.02282, allocations: 7.938 kB / 386.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.02287, allocations: 41.39 kB / 386.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.02287, allocations: 0 / 386.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008256/0.0237, allocations: 281.6 kB / 387.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.02376, allocations: 81.11 kB / 387.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.02429, allocations: 438.3 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.02434, allocations: 33.7 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.02452, allocations: 203.6 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.02465, allocations: 107.2 kB / 387.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.02491, allocations: 159.3 kB / 388.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003514/0.02526, allocations: 0.543 MB / 388.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.02556, allocations: 117 kB / 388.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.02594, allocations: 197.3 kB / 388.9 MB, free: 6.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.0269, allocations: 496.5 kB / 389.4 MB, free: 6.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.02691, allocations: 0 / 389.4 MB, free: 6.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009111/0.02782, allocations: 464.2 kB / 389.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.02784, allocations: 4 kB / 389.8 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.02788, allocations: 8 kB / 389.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.0279, allocations: 0 / 389.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.02844, allocations: 95.88 kB / 389.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.02846, allocations: 7.984 kB / 390 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.02872, allocations: 67.28 kB / 390 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.02876, allocations: 16 kB / 390 MB, free: 5.773 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.0003544/0.02911, allocations: 213.7 kB / 390.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.02923, allocations: 31.77 kB / 390.3 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.02937, allocations: 38.78 kB / 390.3 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.02938, allocations: 4 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.02938, allocations: 4 kB / 390.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.02939, allocations: 3.984 kB / 390.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.02986, allocations: 268.3 kB / 390.6 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.02987, allocations: 4 kB / 390.6 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.03024, allocations: 47.91 kB / 390.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.03024, allocations: 4 kB / 390.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.03029, allocations: 8 kB / 390.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-06/0.03029, allocations: 7.984 kB / 390.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.0303, allocations: 4 kB / 390.7 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.0314, allocations: 0.5851 MB / 391.2 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.03145, allocations: 31.75 kB / 391.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.03151, allocations: 12 kB / 391.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.03172, allocations: 7.984 kB / 391.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.03182, allocations: 19.97 kB / 391.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.03184, allocations: 4 kB / 391.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.0321, allocations: 251 kB / 391.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0321, allocations: 0 / 391.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009278/0.03303, allocations: 255.6 kB / 391.8 MB, free: 3.926 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.0008035/0.03383, allocations: 287.3 kB / 392.1 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.03468, allocations: 452.2 kB / 392.5 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.03469, allocations: 4 kB / 392.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.03494, allocations: 104.4 kB / 392.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.03544, allocations: 51.88 kB / 392.7 MB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.03686, allocations: 0.7363 MB / 393.4 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.03712, allocations: 191.5 kB / 393.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.03729, allocations: 54.23 kB / 393.7 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.0374, allocations: 20.5 kB / 393.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0374, allocations: 0 / 393.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of Templates: time 0.01515/0.05255, allocations: 6.672 MB / 400.4 MB, free: 11.32 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.097075610072352]