Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001053/0.001053, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001127/0.001127, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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 0.9421/0.9421, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 32.8 MB / 294.6 MB, free: 1.16 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.586e-05, allocations: 9.203 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002817/0.002833, allocations: 1.835 MB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.004959, allocations: 1.321 MB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.005053, allocations: 3.938 kB / 379.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.005204, allocations: 31.72 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.658e-05/0.005291, allocations: 39.66 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.006966, allocations: 0.6815 MB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.007232, allocations: 239.3 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.007347, allocations: 36.5 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.007573, allocations: 139.6 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.007779, allocations: 151.7 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.007827, allocations: 24 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/0.01181, allocations: 1.224 MB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.01197, allocations: 111.7 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.01206, allocations: 95.67 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.01323, allocations: 1.13 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01324, allocations: 4 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01324, allocations: 0 / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.01324, allocations: 0 / 383.5 MB, free: 13.29 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.0008085/0.01405, allocations: 0.7636 MB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.01409, allocations: 8.031 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.01422, allocations: 48.75 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.01443, allocations: 220.7 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.01445, allocations: 12.38 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.01449, allocations: 35.88 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.01477, allocations: 217 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.01478, allocations: 0 / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.0148, allocations: 8 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.0148, allocations: 0 / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.0149, allocations: 51.89 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.01577, allocations: 0.6353 MB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.01592, allocations: 142 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.01599, allocations: 59.78 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.01602, allocations: 15.92 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01604, allocations: 41.33 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.01604, allocations: 0 / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003276/0.01637, allocations: 213.2 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.0164, allocations: 85.11 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.0166, allocations: 390.1 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.01663, allocations: 29.7 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.01671, allocations: 199.6 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.01677, allocations: 103.2 kB / 386.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.01689, allocations: 147.2 kB / 386.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.01702, allocations: 0.5235 MB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01712, allocations: 80.95 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.01724, allocations: 145.2 kB / 387.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.01757, allocations: 383.2 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01757, allocations: 0 / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0003413/0.01791, allocations: 388.3 kB / 388.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01792, allocations: 8 kB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.01794, allocations: 7.984 kB / 388.4 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.01795, allocations: 4 kB / 388.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.0182, allocations: 83.89 kB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.0182, allocations: 4 kB / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.01829, allocations: 63.41 kB / 388.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01831, allocations: 12 kB / 388.6 MB, free: 7.965 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.0001619/0.01847, allocations: 204.4 kB / 388.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.01852, allocations: 39.77 kB / 388.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.01857, allocations: 38.78 kB / 388.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01857, allocations: 0 / 388.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01857, allocations: 0 / 388.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01858, allocations: 4 kB / 388.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.01878, allocations: 196.9 kB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01878, allocations: 0 / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.01897, allocations: 43.92 kB / 389.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01898, allocations: 4 kB / 389.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.019, allocations: 15.98 kB / 389.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.019, allocations: 4 kB / 389.1 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01901, allocations: 3.984 kB / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.0194, allocations: 0.5109 MB / 389.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.01943, allocations: 31.69 kB / 389.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.01946, allocations: 19.98 kB / 389.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01957, allocations: 0 / 389.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.01961, allocations: 23.91 kB / 389.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.01962, allocations: 7.984 kB / 389.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.01972, allocations: 222.9 kB / 389.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01972, allocations: 0 / 389.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005582/0.02028, allocations: 259.6 kB / 390.2 MB, free: 6.305 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.0003691/0.02065, allocations: 275.4 kB / 390.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.02102, allocations: 395 kB / 390.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.02102, allocations: 4 kB / 390.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.02111, allocations: 75.58 kB / 390.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.02142, allocations: 53.44 kB / 391 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.0223, allocations: 0.7223 MB / 391.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.02237, allocations: 120.3 kB / 391.8 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.013e-05/0.02245, allocations: 29.92 kB / 391.8 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.0226, allocations: 122.2 kB / 392 MB, free: 4.438 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0226, allocations: 0 / 392 MB, free: 4.438 MB / 362.7 MB Notification: Performance of Templates: time 0.009847/0.03245, allocations: 7.642 MB / 399.6 MB, free: 12.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9763656109571457]