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.001042/0.001042, allocations: 82.64 kB / 21.44 MB, free: 3.062 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.001217/0.001217, allocations: 167.5 kB / 24.84 MB, free: 9.293 MB / 18.57 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 0.9101/0.9101, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.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.1493/0.1493, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.743e-06/1.743e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.949e-05, allocations: 4.281 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.005459/0.005489, allocations: 1.826 MB / 350.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.007177, allocations: 1.299 MB / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.007263, allocations: 0 / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.007465, allocations: 35.66 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.007517, allocations: 31.72 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.008643, allocations: 0.6737 MB / 352.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.008808, allocations: 239.2 kB / 353 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.008904, allocations: 32.52 kB / 353 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.009023, allocations: 131.7 kB / 353.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.009144, allocations: 147.7 kB / 353.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.009171, allocations: 24 kB / 353.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.01021, allocations: 1.228 MB / 354.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.01031, allocations: 115.7 kB / 354.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.01038, allocations: 87.69 kB / 354.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.01174, allocations: 1.13 MB / 355.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.01175, allocations: 3.984 kB / 355.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01175, allocations: 0 / 355.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.01176, allocations: 0 / 355.9 MB, free: 2.176 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.001235/0.013, allocations: 0.7442 MB / 356.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.01305, allocations: 12.03 kB / 356.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01318, allocations: 40.7 kB / 356.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.01349, allocations: 212.7 kB / 356.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.01351, allocations: 12.38 kB / 356.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.01357, allocations: 31.92 kB / 356.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.01396, allocations: 220.9 kB / 357.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01398, allocations: 4 kB / 357.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.01401, allocations: 4 kB / 357.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.01402, allocations: 8 kB / 357.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.01417, allocations: 50.2 kB / 357.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01524, allocations: 0.6469 MB / 357.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.01557, allocations: 138 kB / 358 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.01572, allocations: 67.78 kB / 358.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.01576, allocations: 4 kB / 358.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.0158, allocations: 41.33 kB / 358.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 4.388e-06/0.01581, allocations: 0 / 358.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006591/0.01647, allocations: 213.2 kB / 358.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.01654, allocations: 85.11 kB / 358.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.01694, allocations: 386.2 kB / 358.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.01699, allocations: 29.7 kB / 358.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.01713, allocations: 195.6 kB / 359 MB, free: 14.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.01724, allocations: 115 kB / 359.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.01746, allocations: 139.2 kB / 359.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.01771, allocations: 0.5273 MB / 359.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.01787, allocations: 80.95 kB / 359.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.01807, allocations: 149.2 kB / 360 MB, free: 13.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.01867, allocations: 370.9 kB / 360.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.01867, allocations: 0 / 360.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006608/0.01933, allocations: 392.2 kB / 360.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.01936, allocations: 8 kB / 360.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.0194, allocations: 7.984 kB / 360.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01942, allocations: 4 kB / 360.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.01983, allocations: 83.89 kB / 360.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.01984, allocations: 3.984 kB / 360.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.02002, allocations: 67.36 kB / 360.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.02006, allocations: 12 kB / 360.9 MB, free: 12.87 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.0002669/0.02032, allocations: 202.2 kB / 361.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.02042, allocations: 35.81 kB / 361.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.02051, allocations: 38.78 kB / 361.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.02052, allocations: 0 / 361.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.02053, allocations: 4 kB / 361.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.02053, allocations: 3.984 kB / 361.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.02093, allocations: 193 kB / 361.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02093, allocations: 4 kB / 361.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.02117, allocations: 39.98 kB / 361.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.02118, allocations: 4 kB / 361.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.02121, allocations: 11.98 kB / 361.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.02122, allocations: 4 kB / 361.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.02122, allocations: 7.938 kB / 361.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.02173, allocations: 0.507 MB / 362 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.02176, allocations: 31.7 kB / 362 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.0218, allocations: 19.98 kB / 362 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.02191, allocations: 4 kB / 362 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.02198, allocations: 27.89 kB / 362.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.02199, allocations: 4 kB / 362.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.02212, allocations: 218.9 kB / 362.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.02212, allocations: 0 / 362.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008315/0.02295, allocations: 255.7 kB / 362.5 MB, free: 11.2 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.0004442/0.0234, allocations: 286.6 kB / 362.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.0238, allocations: 388.1 kB / 363.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0238, allocations: 4 kB / 363.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.0239, allocations: 76.45 kB / 363.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.02424, allocations: 43.47 kB / 363.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02532, allocations: 0.7287 MB / 364 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.02541, allocations: 120.3 kB / 364.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.885e-05/0.0255, allocations: 17.95 kB / 364.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.02567, allocations: 122.2 kB / 364.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of SimCode: time 1.533e-06/0.02567, allocations: 0 / 364.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of Templates: time 0.01124/0.03691, allocations: 7.71 MB / 372 MB, free: 1.668 MB / 298.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 -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.4950659703463316]