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.00148/0.00148, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3364, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003059/0.3395, allocations: 1.859 MB / 0.5335 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3416, allocations: 1.407 MB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.3417, allocations: 1.688 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3418, allocations: 31.08 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.3419, allocations: 30.78 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3433, allocations: 0.5757 MB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.3436, allocations: 277.6 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3437, allocations: 51.23 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3439, allocations: 113.9 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3441, allocations: 178.2 kB / 0.5361 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.3442, allocations: 23.19 kB / 0.5361 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.3453, allocations: 0.8189 MB / 0.5369 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3455, allocations: 108.5 kB / 0.537 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3456, allocations: 149.5 kB / 0.5371 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3467, allocations: 1.073 MB / 0.5382 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3467, allocations: 0 / 0.5382 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3467, allocations: 0 / 0.5382 GB, free: 8.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3467, allocations: 0 / 0.5382 GB, free: 8.922 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.001162/0.3479, allocations: 0.7324 MB / 0.5389 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3479, allocations: 9.25 kB / 0.5389 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.3481, allocations: 34.22 kB / 0.5389 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.3485, allocations: 287.6 kB / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3485, allocations: 11.03 kB / 0.5392 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.3486, allocations: 29.97 kB / 0.5392 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.3491, allocations: 270.9 kB / 0.5395 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3491, allocations: 3.984 kB / 0.5395 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.3491, allocations: 5.531 kB / 0.5395 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3491, allocations: 4.5 kB / 0.5395 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.3495, allocations: 227.4 kB / 0.5397 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3507, allocations: 0.7561 MB / 0.5405 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.3511, allocations: 287.3 kB / 0.5407 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.3514, allocations: 194.9 kB / 0.5409 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3515, allocations: 7.594 kB / 0.5409 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3515, allocations: 44.75 kB / 0.541 GB, free: 6.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.694e-06/0.3515, allocations: 0 / 0.541 GB, free: 6.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001/0.3525, allocations: 0.5259 MB / 0.5415 GB, free: 6.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3526, allocations: 84.17 kB / 0.5416 GB, free: 6.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.3529, allocations: 353 kB / 0.5419 GB, free: 6.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.353, allocations: 35.98 kB / 0.5419 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3531, allocations: 148 kB / 0.5421 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/0.3532, allocations: 90.41 kB / 0.5422 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3533, allocations: 126.3 kB / 0.5423 GB, free: 5.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3535, allocations: 349.4 kB / 0.5426 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.3539, allocations: 286.1 kB / 0.5429 GB, free: 5.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.3544, allocations: 334.8 kB / 0.5432 GB, free: 5.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.3577, allocations: 1.769 MB / 0.5449 GB, free: 3.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3577, allocations: 0 / 0.5449 GB, free: 3.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001033/0.3587, allocations: 0.7581 MB / 0.5457 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3588, allocations: 8 kB / 0.5457 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.3588, allocations: 15.98 kB / 0.5457 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3588, allocations: 3.938 kB / 0.5457 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.3593, allocations: 91.88 kB / 0.5458 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3593, allocations: 4 kB / 0.5458 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.3595, allocations: 75.05 kB / 0.5459 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3595, allocations: 11.94 kB / 0.5459 GB, free: 2.871 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.0002157/0.3597, allocations: 187.6 kB / 0.5461 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.3598, allocations: 27.62 kB / 0.5461 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3599, allocations: 34.72 kB / 0.5461 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3599, allocations: 3.938 kB / 0.5461 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.36, allocations: 3.984 kB / 0.5461 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.36, allocations: 120.6 kB / 0.5462 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.3601, allocations: 11.94 kB / 0.5463 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3603, allocations: 15.98 kB / 0.5463 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.3604, allocations: 11.98 kB / 0.5463 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001454/0.3618, allocations: 0.7065 MB / 0.547 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001174/0.363, allocations: 0.9117 MB / 0.5479 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000293/0.3633, allocations: 200.9 kB / 0.5481 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3635, allocations: 223 kB / 0.5483 GB, free: 376 kB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3636, allocations: 4 kB / 0.5483 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.3653, allocations: 0.8014 MB / 0.5491 GB, free: 15.53 MB / 414.1 MB Notification: Performance of SimCode: time 0.00142/0.3667, allocations: 1.221 MB / 0.5502 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Templates: time 0.01454/0.3813, allocations: 7.714 MB / 0.5578 GB, free: 6.566 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches