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.001097/0.001097, 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.001431/0.001431, allocations: 164.4 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.3154/0.3154, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] 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 1.993e-06/1.993e-06, allocations: 0 / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.997e-05, allocations: 2.312 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002864/0.002894, allocations: 1.834 MB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.004763, allocations: 1.321 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004881, allocations: 7.938 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.005062, allocations: 35.72 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.005125, allocations: 31.72 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.006917, allocations: 0.6853 MB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.007219, allocations: 231.3 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.007377, allocations: 28.58 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.007617, allocations: 147.5 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.007785, allocations: 147.7 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.007822, allocations: 24 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.009517, allocations: 1.224 MB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.009702, allocations: 123.6 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.009794, allocations: 95.73 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.01112, allocations: 1.13 MB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.01113, allocations: 0 / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01113, allocations: 0 / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01114, allocations: 0 / 385.5 MB, free: 11.33 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.000979/0.01212, allocations: 0.7558 MB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.01217, allocations: 12.03 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01235, allocations: 44.75 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.0126, allocations: 232.6 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.01262, allocations: 16.38 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.01267, allocations: 27.89 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.01293, allocations: 225 kB / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01294, allocations: 0 / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.01296, allocations: 4 kB / 386.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01297, allocations: 4 kB / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.01306, allocations: 59.41 kB / 386.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.01379, allocations: 0.6352 MB / 387.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.01399, allocations: 138.1 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.01407, allocations: 63.34 kB / 387.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.01411, allocations: 11.92 kB / 387.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.01415, allocations: 41.39 kB / 387.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.944e-06/0.01415, allocations: 0 / 387.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004062/0.01456, allocations: 217.6 kB / 388 MB, free: 8.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.01461, allocations: 77.11 kB / 388.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.01488, allocations: 398.1 kB / 388.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.01491, allocations: 33.7 kB / 388.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01501, allocations: 199.6 kB / 388.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.01509, allocations: 103.2 kB / 388.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.01522, allocations: 139.2 kB / 388.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.0154, allocations: 0.5312 MB / 389.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.0155, allocations: 76.95 kB / 389.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01563, allocations: 145.2 kB / 389.7 MB, free: 6.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.01599, allocations: 372 kB / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01599, allocations: 0 / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0003916/0.01639, allocations: 384.3 kB / 390.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.01641, allocations: 8 kB / 390.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.01643, allocations: 15.98 kB / 390.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01645, allocations: 0 / 390.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.01671, allocations: 83.89 kB / 390.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01672, allocations: 7.984 kB / 390.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.01681, allocations: 63.41 kB / 390.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01683, allocations: 4 kB / 390.6 MB, free: 6.004 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.000207/0.01704, allocations: 210.7 kB / 390.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.01709, allocations: 31.77 kB / 390.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.01716, allocations: 42.72 kB / 390.9 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01716, allocations: 4 kB / 390.9 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01717, allocations: 0 / 390.9 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01717, allocations: 0 / 390.9 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.0174, allocations: 197 kB / 391.1 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.0174, allocations: 0 / 391.1 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.01759, allocations: 51.92 kB / 391.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01759, allocations: 0 / 391.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.01762, allocations: 15.98 kB / 391.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01762, allocations: 0 / 391.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01762, allocations: 0 / 391.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.01806, allocations: 0.5219 MB / 391.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.0181, allocations: 27.75 kB / 391.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.01813, allocations: 11.98 kB / 391.7 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01824, allocations: 12 kB / 391.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.01829, allocations: 23.97 kB / 391.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.0183, allocations: 7.984 kB / 391.7 MB, free: 4.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.01841, allocations: 214.9 kB / 392 MB, free: 4.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01841, allocations: 4 kB / 392 MB, free: 4.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008434/0.01925, allocations: 259.6 kB / 392.2 MB, free: 4.336 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.0004664/0.01972, allocations: 279.4 kB / 392.5 MB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.02018, allocations: 387.1 kB / 392.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.02018, allocations: 0 / 392.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.02028, allocations: 91.72 kB / 392.9 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.02064, allocations: 41.34 kB / 393 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.02169, allocations: 0.7106 MB / 393.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.585e-05/0.02178, allocations: 120.2 kB / 393.8 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.02186, allocations: 33.88 kB / 393.9 MB, free: 2.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.02203, allocations: 122.2 kB / 394 MB, free: 2.477 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02203, allocations: 0 / 394 MB, free: 2.477 MB / 362.7 MB Notification: Performance of Templates: time 0.01145/0.03347, allocations: 7.645 MB / 401.6 MB, free: 10.88 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","",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.7184533909894526]