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.0009871/0.0009871, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001265/0.001265, allocations: 160.5 kB / 24.56 MB, free: 8 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.9796/0.9796, allocations: 177 MB / 204.8 MB, free: 5.16 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.2585/0.2585, allocations: 34.86 MB / 296.3 MB, free: 0.5 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.243e-06/1.243e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.413e-05, allocations: 5.125 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002158/0.002182, allocations: 1.861 MB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003736, allocations: 1.341 MB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.003813, allocations: 3.938 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.003963, allocations: 27.78 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.004014, allocations: 35.66 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.005163, allocations: 0.6815 MB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.005363, allocations: 239.2 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.005468, allocations: 28.58 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.00565, allocations: 143.6 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005794, allocations: 147.7 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.005828, allocations: 24 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.006995, allocations: 1.22 MB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007101, allocations: 119.7 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.007181, allocations: 95.72 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009123/0.008093, allocations: 1.122 MB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.008096, allocations: 3.938 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008096, allocations: 3.938 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.008102, allocations: 0 / 385.8 MB, free: 11.02 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.0008284/0.00893, allocations: 0.7598 MB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.008967, allocations: 11.97 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.009109, allocations: 48.73 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.009355, allocations: 224.7 kB / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.009371, allocations: 16.38 kB / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.009568, allocations: 31.89 kB / 386.9 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.009837, allocations: 225 kB / 387.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.009846, allocations: 7.984 kB / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.009864, allocations: 4 kB / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.009873, allocations: 8 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.009998, allocations: 55.91 kB / 387.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.0107, allocations: 0.705 MB / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.0109, allocations: 146 kB / 388.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.011, allocations: 71.34 kB / 388.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01103, allocations: 4.438 kB / 388.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.01106, allocations: 41.33 kB / 388.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.01106, allocations: 3.938 kB / 388.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004162/0.01147, allocations: 241.5 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01151, allocations: 89.11 kB / 388.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.01174, allocations: 390.3 kB / 388.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.01177, allocations: 37.69 kB / 388.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.01185, allocations: 191.6 kB / 389.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.01191, allocations: 99.19 kB / 389.2 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.01203, allocations: 135.3 kB / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01215, allocations: 0.5235 MB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01229, allocations: 105 kB / 390 MB, free: 6.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.01246, allocations: 169.3 kB / 390.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.01291, allocations: 440.4 kB / 390.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01292, allocations: 0 / 390.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004433/0.01336, allocations: 440.3 kB / 391 MB, free: 5.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01337, allocations: 7.938 kB / 391 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.01339, allocations: 8 kB / 391 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01341, allocations: 0 / 391 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.01368, allocations: 95.88 kB / 391.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.01369, allocations: 7.984 kB / 391.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/0.01378, allocations: 63.34 kB / 391.2 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.0138, allocations: 12 kB / 391.2 MB, free: 5.395 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.0001432/0.01394, allocations: 204.9 kB / 391.4 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.014, allocations: 35.77 kB / 391.4 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.01405, allocations: 34.78 kB / 391.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01406, allocations: 4 kB / 391.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01406, allocations: 0 / 391.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01407, allocations: 3.984 kB / 391.4 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.01429, allocations: 244.3 kB / 391.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01429, allocations: 4 kB / 391.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.01448, allocations: 47.91 kB / 391.7 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01449, allocations: 4 kB / 391.7 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.01452, allocations: 11.98 kB / 391.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01452, allocations: 0 / 391.8 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01452, allocations: 4 kB / 391.8 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.01497, allocations: 0.5237 MB / 392.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.01499, allocations: 35.73 kB / 392.3 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.01502, allocations: 11.94 kB / 392.3 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01513, allocations: 15.98 kB / 392.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.01518, allocations: 15.97 kB / 392.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01519, allocations: 8 kB / 392.4 MB, free: 4.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.01531, allocations: 231 kB / 392.6 MB, free: 3.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01531, allocations: 3.938 kB / 392.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004411/0.01576, allocations: 259.6 kB / 392.8 MB, free: 3.652 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.0003578/0.01611, allocations: 275.4 kB / 393.1 MB, free: 3.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.01653, allocations: 415.2 kB / 393.5 MB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01653, allocations: 4 kB / 393.5 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01664, allocations: 91.03 kB / 393.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01695, allocations: 49.11 kB / 393.7 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01798, allocations: 0.7345 MB / 394.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.163e-05/0.01806, allocations: 116.3 kB / 394.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.01814, allocations: 46.23 kB / 394.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.01821, allocations: 24.5 kB / 394.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01821, allocations: 0 / 394.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of Templates: time 0.007584/0.0258, allocations: 6.668 MB / 401.2 MB, free: 11.21 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.452781415078789]