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.002051/0.002051, allocations: 92.22 kB / 20.21 MB, free: 4.203 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.002693/0.002693, allocations: 157.7 kB / 23.52 MB, free: 0.8945 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 1.491/1.491, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2204/0.2204, allocations: 32.37 MB / 270 MB, free: 14.77 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.623e-06/1.623e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.714e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002434/0.002471, allocations: 1.784 MB / 348.7 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.004169, allocations: 1.287 MB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.004253, allocations: 4 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.004436, allocations: 35.72 kB / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.00451, allocations: 27.72 kB / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.006163, allocations: 0.6814 MB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.006378, allocations: 231.3 kB / 351 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.006517, allocations: 32.52 kB / 351 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.006689, allocations: 131.6 kB / 351.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.006854, allocations: 151.7 kB / 351.3 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.006895, allocations: 20 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.008343, allocations: 1.216 MB / 352.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.008462, allocations: 119.6 kB / 352.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.008553, allocations: 91.75 kB / 352.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.009568, allocations: 1.208 MB / 353.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.009573, allocations: 0 / 353.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.009575, allocations: 0 / 353.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.009581, allocations: 0 / 353.9 MB, free: 2.793 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.001096/0.01068, allocations: 0.656 MB / 354.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01071, allocations: 8.031 kB / 354.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.01082, allocations: 48.7 kB / 354.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.01109, allocations: 214 kB / 354.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.01111, allocations: 16.31 kB / 354.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.01118, allocations: 35.88 kB / 354.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.01163, allocations: 326.6 kB / 355.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01164, allocations: 3.938 kB / 355.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.01167, allocations: 8 kB / 355.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.01167, allocations: 4 kB / 355.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.01203, allocations: 227.8 kB / 355.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.01302, allocations: 0.6484 MB / 356.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.01338, allocations: 280.9 kB / 356.4 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.01362, allocations: 181.6 kB / 356.6 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.01365, allocations: 8 kB / 356.6 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.01372, allocations: 42.48 kB / 356.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.01372, allocations: 0 / 356.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001187/0.0149, allocations: 0.5444 MB / 357.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.01497, allocations: 85.05 kB / 357.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.01541, allocations: 348.5 kB / 357.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.01545, allocations: 29.7 kB / 357.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.01559, allocations: 144.8 kB / 357.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.01573, allocations: 111.1 kB / 357.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.01592, allocations: 121.7 kB / 358 MB, free: 14.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.01617, allocations: 342.8 kB / 358.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.01668, allocations: 284.9 kB / 358.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.01722, allocations: 347.3 kB / 358.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.02127, allocations: 1.76 MB / 360.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02127, allocations: 4 kB / 360.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001432/0.0227, allocations: 0.7815 MB / 361.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.02273, allocations: 11.94 kB / 361.5 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.02275, allocations: 8 kB / 361.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.02278, allocations: 4 kB / 361.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.02329, allocations: 95.86 kB / 361.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.0233, allocations: 0 / 361.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.02353, allocations: 71.34 kB / 361.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.02356, allocations: 11.98 kB / 361.7 MB, free: 10.81 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.0002927/0.02385, allocations: 185 kB / 361.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.02395, allocations: 35.81 kB / 361.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.02407, allocations: 42.77 kB / 361.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.02408, allocations: 0 / 361.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.02409, allocations: 4 kB / 361.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02409, allocations: 0 / 361.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.02453, allocations: 249 kB / 362.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.02453, allocations: 0 / 362.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.02489, allocations: 43.92 kB / 362.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.02489, allocations: 4 kB / 362.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.02493, allocations: 23.92 kB / 362.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.02494, allocations: 3.984 kB / 362.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02494, allocations: 0 / 362.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.02618, allocations: 0.7464 MB / 363 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.02623, allocations: 43.83 kB / 363 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.02628, allocations: 8 kB / 363 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.0265, allocations: 11.98 kB / 363.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.02658, allocations: 23.91 kB / 363.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.02661, allocations: 8 kB / 363.1 MB, free: 9.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.02686, allocations: 223 kB / 363.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02686, allocations: 0 / 363.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008579/0.02771, allocations: 255.6 kB / 363.5 MB, free: 8.859 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.0006071/0.02832, allocations: 278.7 kB / 363.8 MB, free: 8.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.02947, allocations: 0.6624 MB / 364.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.02948, allocations: 4 kB / 364.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.03012, allocations: 188.7 kB / 364.7 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.03064, allocations: 43.31 kB / 364.7 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.03215, allocations: 0.8765 MB / 365.6 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.0324, allocations: 199.5 kB / 365.8 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.0326, allocations: 69.89 kB / 365.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.03271, allocations: 24.48 kB / 365.9 MB, free: 6.457 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03271, allocations: 0 / 365.9 MB, free: 6.457 MB / 298.7 MB Notification: Performance of Templates: time 0.0143/0.04702, allocations: 6.678 MB / 372.6 MB, free: 15.8 MB / 314.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.285886960919015]