Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001319/0.001319, allocations: 120.8 kB / 20.33 MB, free: 1.566 MB / 14.72 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.001457/0.001457, allocations: 207.7 kB / 23.6 MB, free: 4.949 MB / 14.72 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.527/1.527, allocations: 230.5 MB / 257.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.91 MB / 358.6 MB, free: 6.344 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 0.4932 GB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 65.45 MB / 0.5571 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004243/0.3847, allocations: 1.796 MB / 0.5589 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.3878, allocations: 1.295 MB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.388, allocations: 3.938 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3882, allocations: 31.72 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3883, allocations: 35.66 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.3906, allocations: 0.6781 MB / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.3912, allocations: 311.2 kB / 0.5612 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3914, allocations: 28.56 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.3917, allocations: 135.6 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.3921, allocations: 171.5 kB / 0.5615 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.938e-05/0.3921, allocations: 24 kB / 0.5615 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.3946, allocations: 1.326 MB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.3948, allocations: 119.6 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.3951, allocations: 115.4 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.397, allocations: 1.112 MB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.397, allocations: 0 / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.397, allocations: 0 / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.3971, allocations: 8 kB / 0.5641 GB, free: 0.5508 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.001964/0.399, allocations: 0.656 MB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3991, allocations: 8.031 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.3993, allocations: 48.62 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.3997, allocations: 230.2 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3997, allocations: 12 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.3998, allocations: 27.95 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.4004, allocations: 323.1 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4004, allocations: 3.984 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.4005, allocations: 4 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4005, allocations: 4 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.4009, allocations: 227.8 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.4023, allocations: 0.6829 MB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.4029, allocations: 288.9 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.4032, allocations: 189.5 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.4032, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4033, allocations: 42.5 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.4033, allocations: 0 / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.00114/0.4044, allocations: 0.5327 MB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4045, allocations: 85.11 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.4049, allocations: 352.6 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.4049, allocations: 29.7 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4051, allocations: 144.9 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.4052, allocations: 107.1 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.4054, allocations: 121.4 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4055, allocations: 350.8 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.406, allocations: 284.8 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.4065, allocations: 336.2 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.4102, allocations: 1.768 MB / 0.5707 GB, free: 9.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4102, allocations: 0 / 0.5707 GB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001221/0.4114, allocations: 0.7676 MB / 0.5715 GB, free: 8.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4115, allocations: 7.984 kB / 0.5715 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.4115, allocations: 8 kB / 0.5715 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.4115, allocations: 3.938 kB / 0.5715 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.412, allocations: 99.88 kB / 0.5716 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.412, allocations: 4 kB / 0.5716 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4123, allocations: 71.34 kB / 0.5717 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4123, allocations: 12 kB / 0.5717 GB, free: 8.547 MB / 414.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.0003243/0.4126, allocations: 189.6 kB / 0.5719 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.4127, allocations: 23.81 kB / 0.5719 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.4129, allocations: 42.66 kB / 0.5719 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4129, allocations: 7.984 kB / 0.5719 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4129, allocations: 0 / 0.5719 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4129, allocations: 3.984 kB / 0.5719 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.4134, allocations: 276.5 kB / 0.5722 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4134, allocations: 3.938 kB / 0.5722 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.4137, allocations: 47.91 kB / 0.5723 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.4138, allocations: 0 / 0.5723 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.4138, allocations: 27.92 kB / 0.5723 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4138, allocations: 0 / 0.5723 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4138, allocations: 0 / 0.5723 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4151, allocations: 0.7446 MB / 0.573 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.4151, allocations: 31.84 kB / 0.573 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.4152, allocations: 27.86 kB / 0.5731 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.4154, allocations: 8 kB / 0.5731 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/0.4155, allocations: 19.97 kB / 0.5731 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.4155, allocations: 7.984 kB / 0.5731 GB, free: 7.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.4158, allocations: 227 kB / 0.5733 GB, free: 6.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4158, allocations: 0 / 0.5733 GB, free: 6.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4169, allocations: 251.7 kB / 0.5736 GB, free: 6.555 MB / 414.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.0009489/0.4178, allocations: 246.8 kB / 0.5738 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.419, allocations: 0.6623 MB / 0.5744 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.419, allocations: 0 / 0.5744 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.4193, allocations: 196.6 kB / 0.5746 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.4198, allocations: 50.05 kB / 0.5747 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4214, allocations: 0.9381 MB / 0.5756 GB, free: 4.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4217, allocations: 207.8 kB / 0.5758 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.4219, allocations: 66.23 kB / 0.5759 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.422, allocations: 27.42 kB / 0.5759 GB, free: 4.098 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.422, allocations: 0 / 0.5759 GB, free: 4.098 MB / 414.1 MB Notification: Performance of Templates: time 0.01604/0.4381, allocations: 6.625 MB / 0.5823 GB, free: 13.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.5891586933285]