Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009597/0.0009597, allocations: 101.6 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3366/0.3366, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3654, allocations: 62.02 MB / 0.5151 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002474/0.3679, allocations: 1.904 MB / 0.517 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3696, allocations: 1.462 MB / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.3697, allocations: 0 / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3698, allocations: 25.16 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.3699, allocations: 22.03 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3709, allocations: 487.2 kB / 0.5189 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3712, allocations: 270.9 kB / 0.5192 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3713, allocations: 36.78 kB / 0.5192 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3714, allocations: 107.5 kB / 0.5193 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3716, allocations: 170.3 kB / 0.5195 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.3716, allocations: 11.44 kB / 0.5195 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.3724, allocations: 0.7446 MB / 0.5202 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.3725, allocations: 104 kB / 0.5203 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.3726, allocations: 130.5 kB / 0.5205 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.3734, allocations: 1.056 MB / 0.5215 GB, free: 34.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3734, allocations: 0 / 0.5215 GB, free: 34.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3734, allocations: 0 / 0.5215 GB, free: 34.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3734, allocations: 0 / 0.5215 GB, free: 34.47 MB / 378.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.001009/0.3744, allocations: 0.718 MB / 0.5222 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3745, allocations: 9.875 kB / 0.5222 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.3747, allocations: 41.62 kB / 0.5222 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.3749, allocations: 282.7 kB / 0.5225 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.375, allocations: 11.75 kB / 0.5225 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.375, allocations: 25.16 kB / 0.5225 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3754, allocations: 274.6 kB / 0.5228 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3754, allocations: 7.922 kB / 0.5228 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.3755, allocations: 6.875 kB / 0.5228 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3755, allocations: 2.906 kB / 0.5228 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.3758, allocations: 220.5 kB / 0.523 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3769, allocations: 0.7533 MB / 0.5238 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.3772, allocations: 290.4 kB / 0.524 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.3775, allocations: 198.9 kB / 0.5242 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.3776, allocations: 2.375 kB / 0.5242 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3776, allocations: 40.69 kB / 0.5243 GB, free: 32.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.3776, allocations: 0 / 0.5243 GB, free: 32.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008741/0.3785, allocations: 0.5329 MB / 0.5248 GB, free: 32.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3785, allocations: 91.42 kB / 0.5249 GB, free: 32.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3788, allocations: 352.4 kB / 0.5252 GB, free: 32.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3788, allocations: 32.11 kB / 0.5253 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.3789, allocations: 141.4 kB / 0.5254 GB, free: 32.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.3789, allocations: 96.67 kB / 0.5255 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3791, allocations: 119.5 kB / 0.5256 GB, free: 31.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.3792, allocations: 351.7 kB / 0.5259 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.3795, allocations: 288.2 kB / 0.5262 GB, free: 31.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.3798, allocations: 341.5 kB / 0.5265 GB, free: 31.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.3829, allocations: 1.759 MB / 0.5282 GB, free: 30.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.383, allocations: 6.938 kB / 0.5283 GB, free: 30.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009026/0.3839, allocations: 0.7651 MB / 0.529 GB, free: 30.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3839, allocations: 5.625 kB / 0.529 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.3839, allocations: 9.016 kB / 0.529 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3839, allocations: 2.875 kB / 0.529 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.3844, allocations: 96.31 kB / 0.5291 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3844, allocations: 3.938 kB / 0.5291 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3846, allocations: 66.97 kB / 0.5292 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.3846, allocations: 16.66 kB / 0.5292 GB, free: 30.51 MB / 378.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.0002402/0.3849, allocations: 185 kB / 0.5294 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.385, allocations: 35.2 kB / 0.5294 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3851, allocations: 37.56 kB / 0.5294 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3851, allocations: 10.92 kB / 0.5294 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3851, allocations: 0 / 0.5294 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3851, allocations: 0 / 0.5294 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.3855, allocations: 335.1 kB / 0.5298 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3855, allocations: 6.094 kB / 0.5298 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.3858, allocations: 52.41 kB / 0.5298 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3858, allocations: 2.875 kB / 0.5298 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.3859, allocations: 12.62 kB / 0.5298 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3859, allocations: 0 / 0.5298 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3859, allocations: 6.938 kB / 0.5298 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.3895, allocations: 3.172 MB / 0.5329 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.3895, allocations: 107.9 kB / 0.533 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.3896, allocations: 11.92 kB / 0.5331 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3898, allocations: 11.31 kB / 0.5331 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.3899, allocations: 18.33 kB / 0.5331 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.3899, allocations: 10.47 kB / 0.5331 GB, free: 28.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3901, allocations: 220.7 kB / 0.5333 GB, free: 27.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3901, allocations: 0 / 0.5333 GB, free: 27.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009094/0.391, allocations: 267.1 kB / 0.5336 GB, free: 27.88 MB / 378.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.0004605/0.3915, allocations: 265.2 kB / 0.5338 GB, free: 27.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008928/0.3924, allocations: 0.7214 MB / 0.5345 GB, free: 27.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3924, allocations: 0 / 0.5345 GB, free: 27.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.3927, allocations: 194.8 kB / 0.5347 GB, free: 27.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3932, allocations: 44.55 kB / 0.5347 GB, free: 27.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3946, allocations: 1.227 MB / 0.5359 GB, free: 26.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3949, allocations: 0.8162 MB / 0.5367 GB, free: 25.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.3951, allocations: 75.08 kB / 0.5368 GB, free: 25.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3953, allocations: 23.31 kB / 0.5368 GB, free: 25.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3953, allocations: 1.094 kB / 0.5368 GB, free: 25.85 MB / 378.7 MB Notification: Performance of Templates: time 0.01337/0.4086, allocations: 7.249 MB / 0.5439 GB, free: 24.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches