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.002043/0.002043, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002191/0.002191, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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 1.721/1.721, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.4309/0.4309, allocations: 34.26 MB / 295.3 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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 2.926e-06/2.926e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.665e-05/4.957e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.006195/0.006245, allocations: 1.826 MB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.01029, allocations: 1.322 MB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.01051, allocations: 8 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.0108, allocations: 35.66 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.01101, allocations: 27.66 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.01435, allocations: 0.6892 MB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006352/0.01499, allocations: 239.2 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.01522, allocations: 36.56 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.0158, allocations: 135.6 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.0162, allocations: 151.7 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.01634, allocations: 24 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.02008, allocations: 1.216 MB / 383 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.02033, allocations: 115.6 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.02062, allocations: 99.73 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.02383, allocations: 1.2 MB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.02384, allocations: 4 kB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.02385, allocations: 0 / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.02388, allocations: 0 / 384.4 MB, free: 11.81 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.003081/0.02696, allocations: 0.775 MB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.02702, allocations: 8.031 kB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.02742, allocations: 48.73 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.02803, allocations: 232.7 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.02806, allocations: 12.38 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.02815, allocations: 27.88 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.02874, allocations: 240.3 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.02875, allocations: 3.938 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.02879, allocations: 4 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.0288, allocations: 4 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.02914, allocations: 95.95 kB / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.03096, allocations: 0.7245 MB / 386.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.0314, allocations: 166 kB / 386.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.03167, allocations: 91.33 kB / 386.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.03172, allocations: 4 kB / 386.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.03178, allocations: 41.33 kB / 386.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.03179, allocations: 0 / 386.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.000966/0.03275, allocations: 282.3 kB / 387.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.03284, allocations: 85.05 kB / 387.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.03351, allocations: 438.3 kB / 387.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.03357, allocations: 33.7 kB / 387.7 MB, free: 8.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.0338, allocations: 199.6 kB / 387.9 MB, free: 8.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.03396, allocations: 115.2 kB / 388 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.03428, allocations: 159.3 kB / 388.1 MB, free: 7.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004586/0.03474, allocations: 0.543 MB / 388.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.0351, allocations: 113 kB / 388.8 MB, free: 7.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.03554, allocations: 197.3 kB / 389 MB, free: 6.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.03662, allocations: 496.1 kB / 389.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.03663, allocations: 0 / 389.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001015/0.03764, allocations: 460.3 kB / 389.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.03767, allocations: 5.875 kB / 389.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.03771, allocations: 7.938 kB / 389.9 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.03773, allocations: 4 kB / 389.9 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.03829, allocations: 95.88 kB / 390 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.03832, allocations: 7.984 kB / 390 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.03981, allocations: 75.27 kB / 390.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.03986, allocations: 12 kB / 390.1 MB, free: 5.812 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.0006302/0.04049, allocations: 201.5 kB / 390.3 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.04067, allocations: 39.75 kB / 390.4 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.04084, allocations: 38.78 kB / 390.4 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.04085, allocations: 8 kB / 390.4 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.04086, allocations: 0 / 390.4 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.04087, allocations: 0 / 390.4 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.04155, allocations: 268.3 kB / 390.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.04156, allocations: 4 kB / 390.7 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.04196, allocations: 47.92 kB / 390.7 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.04197, allocations: 4 kB / 390.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.04203, allocations: 11.98 kB / 390.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.04203, allocations: 0 / 390.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04203, allocations: 0 / 390.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.04329, allocations: 0.5922 MB / 391.3 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.04338, allocations: 31.75 kB / 391.4 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.04346, allocations: 15.98 kB / 391.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.0437, allocations: 4 kB / 391.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.04383, allocations: 23.89 kB / 391.4 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.04386, allocations: 8 kB / 391.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003834/0.04424, allocations: 247 kB / 391.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04424, allocations: 0 / 391.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001307/0.04555, allocations: 259.6 kB / 391.9 MB, free: 3.973 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.001188/0.04674, allocations: 279.4 kB / 392.2 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.0478, allocations: 459.3 kB / 392.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.0478, allocations: 0 / 392.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.04807, allocations: 103.6 kB / 392.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.04868, allocations: 41.14 kB / 392.8 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.05039, allocations: 0.7475 MB / 393.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.05071, allocations: 187.5 kB / 393.7 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.05092, allocations: 58.22 kB / 393.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.05104, allocations: 20.5 kB / 393.8 MB, free: 2.008 MB / 362.7 MB Notification: Performance of SimCode: time 2.134e-06/0.05104, allocations: 0 / 393.8 MB, free: 2.008 MB / 362.7 MB Notification: Performance of Templates: time 0.01905/0.07009, allocations: 6.666 MB / 400.4 MB, free: 11.38 MB / 378.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.87350113701541]