Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002537, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006625/0.0006625, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009406/0.001603, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8661/0.8661, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.015, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1733/0.1733, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01945/0.1927, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.31e-05, allocations: 2.312 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003057/0.00308, allocations: 1.872 MB / 287.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.005003, allocations: 1.29 MB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.00509, allocations: 0 / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.005209, allocations: 35.72 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.005279, allocations: 31.66 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.006828, allocations: 0.619 MB / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.00712, allocations: 231.3 kB / 289.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.007233, allocations: 30.55 kB / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.00746, allocations: 155.6 kB / 290.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.00766, allocations: 151.7 kB / 290.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.007706, allocations: 24 kB / 290.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.009558, allocations: 1.177 MB / 291.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.009713, allocations: 91.77 kB / 291.5 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.009799, allocations: 67.75 kB / 291.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.01232, allocations: 0.9505 MB / 292.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.01233, allocations: 0 / 292.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01233, allocations: 0 / 292.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.01234, allocations: 0 / 292.6 MB, free: 1.684 MB / 282.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.001067/0.01341, allocations: 0.7167 MB / 293.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01344, allocations: 8.031 kB / 293.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.01351, allocations: 28.91 kB / 293.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.01375, allocations: 197.9 kB / 293.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.01377, allocations: 12.38 kB / 293.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.01384, allocations: 35.88 kB / 293.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.01413, allocations: 222.7 kB / 293.8 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01414, allocations: 4 kB / 293.8 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.01416, allocations: 4 kB / 293.8 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01417, allocations: 7.938 kB / 293.8 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.01429, allocations: 49.58 kB / 293.8 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.01498, allocations: 488.7 kB / 294.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01514, allocations: 204.2 kB / 294.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.0152, allocations: 53.7 kB / 294.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01522, allocations: 8 kB / 294.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.01524, allocations: 34.5 kB / 294.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.01524, allocations: 4 kB / 294.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002667/0.01551, allocations: 170.6 kB / 294.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.01554, allocations: 81.05 kB / 294.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.0157, allocations: 311 kB / 295.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.01573, allocations: 33.7 kB / 295.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.01578, allocations: 136.8 kB / 295.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.01584, allocations: 103.1 kB / 295.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.01593, allocations: 109.6 kB / 295.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.01601, allocations: 358.7 kB / 295.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.0161, allocations: 75.81 kB / 295.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.01619, allocations: 123.4 kB / 296.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.01654, allocations: 362 kB / 296.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01655, allocations: 0 / 296.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000363/0.01691, allocations: 304.7 kB / 296.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01692, allocations: 4 kB / 296.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.01695, allocations: 8 kB / 296.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01696, allocations: 3.984 kB / 296.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.01738, allocations: 103.9 kB / 296.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.01739, allocations: 4 kB / 296.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01749, allocations: 59.41 kB / 296.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.01751, allocations: 15.98 kB / 296.9 MB, free: 13.09 MB / 298.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.0001524/0.01766, allocations: 150.6 kB / 297.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.0177, allocations: 23.97 kB / 297.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.01776, allocations: 38.77 kB / 297.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01776, allocations: 4 kB / 297.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01776, allocations: 4 kB / 297.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01777, allocations: 4 kB / 297.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.018, allocations: 153.7 kB / 297.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.018, allocations: 0 / 297.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.01819, allocations: 51.91 kB / 297.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.01822, allocations: 35.64 kB / 297.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01822, allocations: 0 / 297.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.01826, allocations: 19.98 kB / 297.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01826, allocations: 0 / 297.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01826, allocations: 0 / 297.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.0187, allocations: 480.9 kB / 297.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.01874, allocations: 23.92 kB / 297.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.01891, allocations: 4 kB / 297.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.01897, allocations: 19.95 kB / 297.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.01898, allocations: 4 kB / 297.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.01909, allocations: 104.6 kB / 298 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01909, allocations: 0 / 298 MB, free: 11.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006274/0.01971, allocations: 251.6 kB / 298.3 MB, free: 11.7 MB / 298.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.0005086/0.02022, allocations: 287.9 kB / 298.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.02068, allocations: 355.4 kB / 298.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.02069, allocations: 4 kB / 298.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.02082, allocations: 80.69 kB / 299 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.02129, allocations: 277.8 kB / 299.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.02268, allocations: 0.6857 MB / 299.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.02278, allocations: 120.2 kB / 300 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.02289, allocations: 17.95 kB / 300.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.02311, allocations: 99.34 kB / 300.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02311, allocations: 0 / 300.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of Templates: time 0.009332/0.03244, allocations: 7.392 MB / 307.6 MB, free: 2.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8713165344670415]