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.001719/0.001719, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.002143/0.002143, allocations: 169.3 kB / 24.27 MB, free: 140 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3292/0.3292, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.273e-06/1.273e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.626e-05, allocations: 6.25 kB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003305/0.003331, allocations: 1.811 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.005777, allocations: 1.298 MB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.005865, allocations: 4 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.006025, allocations: 27.72 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.006109, allocations: 43.59 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.007984, allocations: 0.6814 MB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.008295, allocations: 235.2 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.008411, allocations: 32.56 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.008663, allocations: 139.7 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.0089, allocations: 147.7 kB / 379.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.008948, allocations: 24 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.01104, allocations: 1.224 MB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.0112, allocations: 115.7 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.01133, allocations: 95.73 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.0129, allocations: 1.2 MB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.0129, allocations: 4 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01291, allocations: 0 / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01291, allocations: 0 / 382.3 MB, free: 13.89 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.001319/0.01423, allocations: 0.6677 MB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.01426, allocations: 8.031 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.01449, allocations: 52.73 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.01487, allocations: 233.8 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.01489, allocations: 12.38 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.01496, allocations: 27.94 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.01555, allocations: 331 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01556, allocations: 0 / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.0156, allocations: 4 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01561, allocations: 8 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.01607, allocations: 227.8 kB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.01756, allocations: 0.6444 MB / 384.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.01807, allocations: 280.9 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.01841, allocations: 189.6 kB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.01844, allocations: 4 kB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.01848, allocations: 39 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.01848, allocations: 0 / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001169/0.01965, allocations: 0.5478 MB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.01972, allocations: 81.11 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.02013, allocations: 356.5 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.02017, allocations: 29.7 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.02031, allocations: 148.9 kB / 386.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.02042, allocations: 99.17 kB / 386.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.02061, allocations: 121.7 kB / 386.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.02082, allocations: 350.8 kB / 386.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.02131, allocations: 288.8 kB / 387 MB, free: 8.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.02185, allocations: 343.3 kB / 387.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/0.02578, allocations: 1.756 MB / 389.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02579, allocations: 0 / 389.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001318/0.02711, allocations: 0.7854 MB / 389.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.02712, allocations: 4 kB / 389.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.02715, allocations: 11.98 kB / 389.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.02717, allocations: 4 kB / 389.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.02769, allocations: 95.88 kB / 390 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.0277, allocations: 4 kB / 390 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.02791, allocations: 71.27 kB / 390.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.02795, allocations: 19.94 kB / 390.1 MB, free: 5.887 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.0002715/0.02822, allocations: 182.1 kB / 390.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.02832, allocations: 43.7 kB / 390.3 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.02844, allocations: 34.78 kB / 390.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.02844, allocations: 4 kB / 390.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.02845, allocations: 0 / 390.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02846, allocations: 3.984 kB / 390.3 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.02886, allocations: 241 kB / 390.6 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.02886, allocations: 0 / 390.6 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.02923, allocations: 51.97 kB / 390.6 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.02924, allocations: 4 kB / 390.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.02928, allocations: 11.98 kB / 390.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.02928, allocations: 4 kB / 390.6 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02928, allocations: 0 / 390.6 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.03065, allocations: 0.7555 MB / 391.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.03069, allocations: 35.88 kB / 391.4 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.03075, allocations: 15.98 kB / 391.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.03098, allocations: 12 kB / 391.5 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.03105, allocations: 15.97 kB / 391.5 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.03108, allocations: 11.98 kB / 391.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002556/0.03133, allocations: 219 kB / 391.7 MB, free: 4.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03133, allocations: 0 / 391.7 MB, free: 4.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008692/0.0322, allocations: 259.6 kB / 392 MB, free: 3.953 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.0006054/0.03281, allocations: 291.2 kB / 392.2 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.0339, allocations: 0.6625 MB / 392.9 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.03391, allocations: 0 / 392.9 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.03426, allocations: 187.8 kB / 393.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.03477, allocations: 45.48 kB / 393.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.0362, allocations: 0.8798 MB / 394 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.03645, allocations: 199.5 kB / 394.2 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.03665, allocations: 69.89 kB / 394.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.03676, allocations: 28.44 kB / 394.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03676, allocations: 0 / 394.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of Templates: time 0.01353/0.05029, allocations: 6.662 MB / 401 MB, free: 10.9 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.064053587964736]