Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 74.11 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 171.2 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 32.38 MB / 269.6 MB, free: 2.727 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 407.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.609e-05, allocations: 2.281 kB / 407.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003079/0.003105, allocations: 1.78 MB / 409.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.005316, allocations: 1.279 MB / 410.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.005397, allocations: 7.938 kB / 410.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.005554, allocations: 27.72 kB / 410.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.005637, allocations: 39.66 kB / 410.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.00749, allocations: 0.6737 MB / 411.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.007804, allocations: 239.2 kB / 411.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.007935, allocations: 32.56 kB / 411.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.008159, allocations: 139.6 kB / 411.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.008375, allocations: 147.7 kB / 411.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.008427, allocations: 24 kB / 411.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.01045, allocations: 1.212 MB / 412.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.0106, allocations: 111.7 kB / 413 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.01073, allocations: 91.67 kB / 413.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.01229, allocations: 1.2 MB / 414.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.0123, allocations: 4 kB / 414.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0123, allocations: 7.938 kB / 414.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.01231, allocations: 0 / 414.3 MB, free: 9.805 MB / 350.1 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.001337/0.01364, allocations: 0.656 MB / 415 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.01368, allocations: 8.031 kB / 415 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.01377, allocations: 36.7 kB / 415 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.01411, allocations: 217.9 kB / 415.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.01413, allocations: 16.38 kB / 415.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.0142, allocations: 31.92 kB / 415.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.01478, allocations: 322.6 kB / 415.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01479, allocations: 0 / 415.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.01482, allocations: 4 kB / 415.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.01482, allocations: 4 kB / 415.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.01527, allocations: 219.8 kB / 415.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01646, allocations: 0.6484 MB / 416.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.01696, allocations: 289 kB / 416.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.01728, allocations: 189.5 kB / 417 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.01731, allocations: 4.438 kB / 417 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.01734, allocations: 34.5 kB / 417 MB, free: 7.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.01735, allocations: 0 / 417 MB, free: 7.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001106/0.01845, allocations: 0.5439 MB / 417.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.01851, allocations: 81.11 kB / 417.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.01889, allocations: 348.5 kB / 418 MB, free: 6.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.01894, allocations: 33.7 kB / 418 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01905, allocations: 140.9 kB / 418.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.01915, allocations: 107.1 kB / 418.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.01932, allocations: 117.7 kB / 418.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.0195, allocations: 346.8 kB / 418.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.01996, allocations: 288.8 kB / 419 MB, free: 4.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.02046, allocations: 347.3 kB / 419.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.02433, allocations: 1.76 MB / 421.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02433, allocations: 0 / 421.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001228/0.02556, allocations: 0.7659 MB / 421.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.02558, allocations: 8 kB / 421.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.0256, allocations: 4 kB / 421.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.02562, allocations: 8 kB / 421.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.02613, allocations: 103.8 kB / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.02614, allocations: 3.984 kB / 422 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.02635, allocations: 67.34 kB / 422 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.02639, allocations: 12 kB / 422 MB, free: 1.875 MB / 350.1 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.0003102/0.0267, allocations: 189.8 kB / 422.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.02678, allocations: 31.77 kB / 422.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.02689, allocations: 38.78 kB / 422.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.0269, allocations: 3.938 kB / 422.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.02691, allocations: 7.984 kB / 422.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.02691, allocations: 0 / 422.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.02731, allocations: 237 kB / 422.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02731, allocations: 0 / 422.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.02769, allocations: 51.91 kB / 422.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.02769, allocations: 4 kB / 422.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.02773, allocations: 15.98 kB / 422.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.02773, allocations: 0 / 422.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02774, allocations: 0 / 422.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.02886, allocations: 0.7636 MB / 423.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.02891, allocations: 31.89 kB / 423.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.02897, allocations: 15.98 kB / 423.4 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.02921, allocations: 11.98 kB / 423.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.02928, allocations: 19.97 kB / 423.4 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.02931, allocations: 8 kB / 423.5 MB, free: 416 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.02953, allocations: 219 kB / 423.7 MB, free: 200 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02953, allocations: 0 / 423.7 MB, free: 200 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008236/0.03036, allocations: 251.7 kB / 423.9 MB, free: 15.95 MB / 366.1 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.0005893/0.03095, allocations: 282.6 kB / 424.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.03198, allocations: 0.6632 MB / 424.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03198, allocations: 4 kB / 424.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.03232, allocations: 188.9 kB / 425 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.03283, allocations: 37.14 kB / 425.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.03415, allocations: 0.8559 MB / 425.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.03438, allocations: 203.8 kB / 426.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000168/0.03455, allocations: 70.23 kB / 426.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.03466, allocations: 20.5 kB / 426.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.03466, allocations: 0 / 426.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Templates: time 0.01309/0.04775, allocations: 6.629 MB / 432.9 MB, free: 6.945 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.889516819268465]