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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001536/0.001537, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 75.89 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4274, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003136/0.4306, allocations: 1.851 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.4331, allocations: 1.398 MB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.4332, allocations: 6.688 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.4334, allocations: 34.28 kB / 0.5342 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4336, allocations: 34.45 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.4354, allocations: 0.5753 MB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.4358, allocations: 282 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4359, allocations: 43.55 kB / 0.5351 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.4362, allocations: 122.5 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.4364, allocations: 169.6 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.4364, allocations: 22.66 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.4376, allocations: 0.8194 MB / 0.5362 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4378, allocations: 121.5 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.4379, allocations: 140.5 kB / 0.5365 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4391, allocations: 1.072 MB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4391, allocations: 0 / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4391, allocations: 0 / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4391, allocations: 1.156 kB / 0.5375 GB, free: 8.941 MB / 398.1 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.001328/0.4405, allocations: 0.7276 MB / 0.5382 GB, free: 8.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4405, allocations: 10.19 kB / 0.5382 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4407, allocations: 39.02 kB / 0.5383 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.4411, allocations: 290.4 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4411, allocations: 10.59 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.4412, allocations: 27.16 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.4417, allocations: 270.1 kB / 0.5388 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4417, allocations: 0 / 0.5388 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.4418, allocations: 6.75 kB / 0.5388 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.4418, allocations: 2.781 kB / 0.5388 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.4422, allocations: 227.8 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.4435, allocations: 0.7523 MB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.444, allocations: 291.9 kB / 0.5401 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.4443, allocations: 191 kB / 0.5403 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.4443, allocations: 6.656 kB / 0.5403 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4444, allocations: 37.31 kB / 0.5403 GB, free: 6.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.4444, allocations: 0 / 0.5403 GB, free: 6.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001058/0.4454, allocations: 0.5381 MB / 0.5408 GB, free: 6.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.4455, allocations: 79.45 kB / 0.5409 GB, free: 6.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.4459, allocations: 357.9 kB / 0.5412 GB, free: 6.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.4459, allocations: 31.8 kB / 0.5413 GB, free: 6.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.446, allocations: 139.9 kB / 0.5414 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.4461, allocations: 101.8 kB / 0.5415 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4463, allocations: 127.2 kB / 0.5416 GB, free: 5.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4464, allocations: 344.2 kB / 0.542 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.4468, allocations: 283.6 kB / 0.5422 GB, free: 5.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.4473, allocations: 341.8 kB / 0.5425 GB, free: 5.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.4509, allocations: 1.766 MB / 0.5443 GB, free: 3.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4509, allocations: 3.938 kB / 0.5443 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001048/0.452, allocations: 0.7689 MB / 0.545 GB, free: 3.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.452, allocations: 4 kB / 0.545 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.452, allocations: 8 kB / 0.545 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.452, allocations: 7.922 kB / 0.545 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.4525, allocations: 95.88 kB / 0.5451 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4525, allocations: 4 kB / 0.5451 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.4528, allocations: 71.05 kB / 0.5452 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.4528, allocations: 12 kB / 0.5452 GB, free: 2.91 MB / 398.1 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.0002619/0.4531, allocations: 183.9 kB / 0.5454 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.4532, allocations: 23.62 kB / 0.5454 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.4533, allocations: 46.64 kB / 0.5455 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4533, allocations: 4 kB / 0.5455 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.4533, allocations: 0 / 0.5455 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4533, allocations: 3.938 kB / 0.5455 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.4537, allocations: 341.3 kB / 0.5458 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4537, allocations: 0 / 0.5458 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.4541, allocations: 51.91 kB / 0.5458 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.4541, allocations: 0 / 0.5458 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.4541, allocations: 19.92 kB / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4542, allocations: 0 / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4542, allocations: 0 / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.4552, allocations: 0.752 MB / 0.5466 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.4552, allocations: 112.8 kB / 0.5467 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.4553, allocations: 11.94 kB / 0.5467 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.4555, allocations: 11.98 kB / 0.5467 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.4556, allocations: 11.98 kB / 0.5467 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.4556, allocations: 15.98 kB / 0.5468 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.4558, allocations: 219 kB / 0.547 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4559, allocations: 4 kB / 0.547 GB, free: 1.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009225/0.4568, allocations: 244 kB / 0.5472 GB, free: 0.7773 MB / 398.1 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.0005009/0.4573, allocations: 256.8 kB / 0.5474 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.4584, allocations: 0.7288 MB / 0.5482 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4584, allocations: 4 kB / 0.5482 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.4587, allocations: 200 kB / 0.5484 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.4592, allocations: 50.28 kB / 0.5484 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4606, allocations: 0.9232 MB / 0.5493 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.461, allocations: 0.8106 MB / 0.5501 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.4612, allocations: 66.25 kB / 0.5502 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.4613, allocations: 23.42 kB / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.456e-06/0.4613, allocations: 0 / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01355/0.4749, allocations: 6.607 MB / 0.5566 GB, free: 7.043 MB / 414.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches