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.0009739/0.0009739, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009466/0.0009466, allocations: 170.2 kB / 25 MB, free: 8.352 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.9759/0.9759, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2365/0.2365, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.724e-06/1.724e-06, allocations: 3.938 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.862e-05, allocations: 4.141 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002512/0.00254, allocations: 1.854 MB / 377.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.00423, allocations: 1.325 MB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004332, allocations: 11.94 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004479, allocations: 35.66 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.004537, allocations: 27.72 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.005927, allocations: 0.6854 MB / 379.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.006172, allocations: 239.3 kB / 380.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.006336, allocations: 28.58 kB / 380.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.006616, allocations: 139.5 kB / 380.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.006797, allocations: 147.7 kB / 380.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.006837, allocations: 24 kB / 380.5 MB, free: 496 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.008408, allocations: 1.22 MB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.00857, allocations: 123.6 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.008665, allocations: 87.75 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.00989, allocations: 1.13 MB / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.009894, allocations: 0 / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009896, allocations: 0 / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.009902, allocations: 0 / 383 MB, free: 13.92 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.001051/0.01095, allocations: 0.7598 MB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.011, allocations: 12.03 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.01118, allocations: 44.75 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.01146, allocations: 236.6 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.01148, allocations: 16.36 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.01154, allocations: 31.89 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.01183, allocations: 237 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01184, allocations: 0 / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01186, allocations: 4 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01187, allocations: 4 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.01201, allocations: 71.41 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.01278, allocations: 0.6972 MB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.013, allocations: 146.1 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.01311, allocations: 75.28 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.01313, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.01316, allocations: 37.39 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.255e-06/0.01317, allocations: 4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004746/0.01364, allocations: 237.6 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.01368, allocations: 81.11 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.01393, allocations: 390.3 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.01395, allocations: 41.7 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.01404, allocations: 191.6 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.0141, allocations: 103.2 kB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.01421, allocations: 135.3 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.01436, allocations: 0.5235 MB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.01451, allocations: 101 kB / 387.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.0147, allocations: 173.3 kB / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.01534, allocations: 431.4 kB / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01534, allocations: 0 / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006307/0.01597, allocations: 436.3 kB / 388.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.01599, allocations: 11.98 kB / 388.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.01602, allocations: 8 kB / 388.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.01603, allocations: 0 / 388.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.01641, allocations: 95.88 kB / 388.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.01642, allocations: 4 kB / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.01656, allocations: 67.33 kB / 388.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.01658, allocations: 12 kB / 388.4 MB, free: 8.301 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.0002103/0.0168, allocations: 194.8 kB / 388.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.01688, allocations: 43.69 kB / 388.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.01695, allocations: 38.77 kB / 388.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.01695, allocations: 4 kB / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01696, allocations: 0 / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01696, allocations: 0 / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.01727, allocations: 248.3 kB / 388.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.01728, allocations: 4 kB / 388.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.01756, allocations: 47.92 kB / 389 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01756, allocations: 4 kB / 389 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.0176, allocations: 11.98 kB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01761, allocations: 4 kB / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01761, allocations: 0 / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.01819, allocations: 0.5304 MB / 389.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.01823, allocations: 31.75 kB / 389.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.01828, allocations: 11.98 kB / 389.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.01844, allocations: 8 kB / 389.6 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.0185, allocations: 23.97 kB / 389.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.01852, allocations: 7.984 kB / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.01869, allocations: 227 kB / 389.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01869, allocations: 0 / 389.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007768/0.01946, allocations: 259.5 kB / 390.1 MB, free: 6.559 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.0005052/0.01997, allocations: 283.4 kB / 390.3 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.02054, allocations: 410.7 kB / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02054, allocations: 0 / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.02069, allocations: 100.4 kB / 390.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.02113, allocations: 45.05 kB / 390.9 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.02241, allocations: 0.7244 MB / 391.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.02252, allocations: 124.2 kB / 391.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.02267, allocations: 46.25 kB / 391.8 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.02276, allocations: 20.5 kB / 391.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.02276, allocations: 0 / 391.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of Templates: time 0.0111/0.03386, allocations: 6.677 MB / 398.5 MB, free: 14.11 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: 3.3557689231820405]