Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0007747/0.0007747, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001793, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007039/0.0007039, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008397/0.001544, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9958/0.9958, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03013/0.2761, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.519e-05, allocations: 3.188 kB / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002925/0.00295, allocations: 1.888 MB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.004829, allocations: 1.349 MB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.004912, allocations: 4 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.005026, allocations: 27.72 kB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.005117, allocations: 39.59 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.006173, allocations: 0.6269 MB / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.006375, allocations: 235.7 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.006473, allocations: 34.48 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.006671, allocations: 155.6 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.006837, allocations: 151.7 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.006871, allocations: 24 kB / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.008183, allocations: 1.185 MB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.008289, allocations: 95.7 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.008355, allocations: 67.81 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008486/0.009204, allocations: 0.9506 MB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.009216, allocations: 0 / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009218, allocations: 0 / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.009231, allocations: 3.938 kB / 299.4 MB, free: 15.45 MB / 298.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.0009993/0.01023, allocations: 0.7178 MB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.01028, allocations: 12.03 kB / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.01049, allocations: 118 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.01071, allocations: 198 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.01072, allocations: 16.38 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.01077, allocations: 39.81 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.01099, allocations: 218.7 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.011, allocations: 0 / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.01102, allocations: 4 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.01102, allocations: 4 kB / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.0111, allocations: 53.56 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.01167, allocations: 480.7 kB / 301.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.01186, allocations: 216.2 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.01192, allocations: 51.45 kB / 301.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.01195, allocations: 8 kB / 301.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01197, allocations: 39 kB / 301.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.01197, allocations: 0 / 301.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002693/0.01224, allocations: 167.7 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.01228, allocations: 85.05 kB / 301.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.01244, allocations: 314.9 kB / 302.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01246, allocations: 29.7 kB / 302.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.01252, allocations: 136.9 kB / 302.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.01257, allocations: 107 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.01267, allocations: 117.5 kB / 302.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.01276, allocations: 350.7 kB / 302.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.01285, allocations: 79.81 kB / 302.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01296, allocations: 119.4 kB / 303.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.01325, allocations: 359.8 kB / 303.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01325, allocations: 0 / 303.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002661/0.01352, allocations: 292.8 kB / 303.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.01353, allocations: 4 kB / 303.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.01355, allocations: 7.984 kB / 303.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.01356, allocations: 4 kB / 303.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.01385, allocations: 103.9 kB / 303.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.01386, allocations: 0 / 303.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.01394, allocations: 71.39 kB / 303.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01396, allocations: 12 kB / 303.9 MB, free: 10.75 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.0001385/0.0141, allocations: 158.4 kB / 304.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.01414, allocations: 19.97 kB / 304.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.01419, allocations: 38.78 kB / 304.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01419, allocations: 8 kB / 304.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.0142, allocations: 0 / 304.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0142, allocations: 0 / 304.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.01437, allocations: 161.6 kB / 304.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01437, allocations: 0 / 304.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.01455, allocations: 51.97 kB / 304.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01458, allocations: 35.67 kB / 304.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01458, allocations: 7.938 kB / 304.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.0146, allocations: 11.98 kB / 304.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.0146, allocations: 0 / 304.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01461, allocations: 4 kB / 304.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.01495, allocations: 484.8 kB / 304.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01498, allocations: 8 kB / 304.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.01508, allocations: 11.98 kB / 304.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.01511, allocations: 11.97 kB / 304.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01512, allocations: 8 kB / 304.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.01519, allocations: 104.6 kB / 305 MB, free: 9.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01519, allocations: 0 / 305 MB, free: 9.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.01561, allocations: 251.7 kB / 305.2 MB, free: 9.355 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.0003455/0.01596, allocations: 289.4 kB / 305.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.01627, allocations: 349.3 kB / 305.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.01628, allocations: 8 kB / 305.9 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.01636, allocations: 68.77 kB / 305.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01664, allocations: 57.05 kB / 306 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.01777, allocations: 0.6947 MB / 306.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/0.01784, allocations: 120.2 kB / 306.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.01791, allocations: 17.95 kB / 306.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.01805, allocations: 99.34 kB / 306.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01805, allocations: 0 / 306.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of Templates: time 0.008314/0.02637, allocations: 7.582 MB / 314.5 MB, free: 48 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.111184231005609]