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.001147/0.001147, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002842, allocations: 447.8 kB / 10.35 MB, free: 348 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.0009846/0.0009846, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002246, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.015/1.015, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1934/1.209, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] 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.1293/0.1293, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04765/0.177, allocations: 12.29 MB / 265.9 MB, free: 7.84 MB / 266.7 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.373e-06/1.373e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.023e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002992/0.003012, allocations: 1.866 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.005029, allocations: 1.33 MB / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.005114, allocations: 0 / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.005213, allocations: 31.72 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.005282, allocations: 35.66 kB / 270.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.006873, allocations: 0.6229 MB / 271.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.007141, allocations: 227.3 kB / 271.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.007251, allocations: 38.52 kB / 271.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.007477, allocations: 151.6 kB / 271.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.007661, allocations: 151.7 kB / 271.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.007706, allocations: 28 kB / 271.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.009532, allocations: 1.173 MB / 272.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.009659, allocations: 91.77 kB / 272.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.009752, allocations: 67.81 kB / 273 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.01099, allocations: 0.9582 MB / 274 MB, free: 15.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.01101, allocations: 0 / 274 MB, free: 15.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01101, allocations: 0 / 274 MB, free: 15.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.01103, allocations: 0 / 274 MB, free: 15.76 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.001407/0.01244, allocations: 0.7128 MB / 274.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.01247, allocations: 8.031 kB / 274.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.01255, allocations: 28.91 kB / 274.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.01282, allocations: 193.9 kB / 274.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.01284, allocations: 16.38 kB / 274.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.0129, allocations: 35.88 kB / 274.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.01324, allocations: 218.2 kB / 275.2 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01325, allocations: 4 kB / 275.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.01328, allocations: 4 kB / 275.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01328, allocations: 4 kB / 275.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.01342, allocations: 53.56 kB / 275.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.01426, allocations: 484.7 kB / 275.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.0145, allocations: 212.2 kB / 275.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.01461, allocations: 57.69 kB / 276 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01463, allocations: 4 kB / 276 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.01466, allocations: 42.5 kB / 276 MB, free: 13.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.973e-06/0.01466, allocations: 4 kB / 276 MB, free: 13.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004046/0.01507, allocations: 161.9 kB / 276.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.01511, allocations: 85.05 kB / 276.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.01536, allocations: 302.9 kB / 276.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.01539, allocations: 29.7 kB / 276.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.01547, allocations: 136.8 kB / 276.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.01555, allocations: 103 kB / 276.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.0157, allocations: 121.5 kB / 276.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01581, allocations: 346.7 kB / 277.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.01595, allocations: 79.81 kB / 277.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.01611, allocations: 123.4 kB / 277.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.01659, allocations: 364.3 kB / 277.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.01659, allocations: 0 / 277.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004545/0.01705, allocations: 300.7 kB / 278.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.01707, allocations: 8 kB / 278.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.01709, allocations: 0 / 278.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.0171, allocations: 4 kB / 278.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.01761, allocations: 107.9 kB / 278.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01761, allocations: 0 / 278.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.01775, allocations: 67.36 kB / 278.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.01778, allocations: 12 kB / 278.3 MB, free: 11.17 MB / 282.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.0001903/0.01797, allocations: 147 kB / 278.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.01804, allocations: 19.98 kB / 278.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/0.01811, allocations: 42.78 kB / 278.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01812, allocations: 4 kB / 278.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01812, allocations: 0 / 278.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01813, allocations: 7.984 kB / 278.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.0184, allocations: 153.7 kB / 278.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0184, allocations: 0 / 278.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.01872, allocations: 55.91 kB / 278.7 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.01876, allocations: 35.69 kB / 278.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01877, allocations: 0 / 278.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.01881, allocations: 11.98 kB / 278.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.01881, allocations: 4 kB / 278.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01881, allocations: 0 / 278.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.01933, allocations: 486.6 kB / 279.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.01939, allocations: 11.98 kB / 279.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.01957, allocations: 8 kB / 279.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.01963, allocations: 15.91 kB / 279.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.01965, allocations: 11.98 kB / 279.3 MB, free: 10.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01976, allocations: 96.62 kB / 279.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01976, allocations: 0 / 279.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007443/0.02051, allocations: 259.7 kB / 279.7 MB, free: 9.781 MB / 282.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.0005242/0.02103, allocations: 287.8 kB / 279.9 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.02149, allocations: 345.4 kB / 280.3 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.0215, allocations: 4 kB / 280.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.02162, allocations: 72.92 kB / 280.3 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.02203, allocations: 61 kB / 280.4 MB, free: 8.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.02361, allocations: 0.6971 MB / 281.1 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.818e-05/0.0237, allocations: 112.3 kB / 281.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.02382, allocations: 17.95 kB / 281.2 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.02404, allocations: 103.3 kB / 281.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02404, allocations: 0 / 281.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of Templates: time 0.01337/0.03741, allocations: 7.575 MB / 288.9 MB, free: 428 kB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] 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","",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.074479100294411]