Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002029/0.002029, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2138/0.2138, allocations: 46.89 MB / 361.1 MB, free: 4.617 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003459/0.003459, allocations: 83.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2933, allocations: 65.98 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003109/0.2964, allocations: 1.871 MB / 0.563 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2986, allocations: 1.416 MB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.2987, allocations: 0 / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.2988, allocations: 35.72 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.2989, allocations: 31.72 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3003, allocations: 0.5806 MB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.3007, allocations: 279.3 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3008, allocations: 32.28 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.301, allocations: 123.6 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.3013, allocations: 183.3 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.3013, allocations: 24 kB / 0.5657 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3026, allocations: 0.9281 MB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3028, allocations: 115.5 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3029, allocations: 147.2 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.3041, allocations: 1.077 MB / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3041, allocations: 0 / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3041, allocations: 0 / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3041, allocations: 4 kB / 0.5679 GB, free: 14.17 MB / 414.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.00129/0.3054, allocations: 0.7391 MB / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3054, allocations: 8.031 kB / 0.5686 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.3056, allocations: 36.7 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.306, allocations: 292 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.306, allocations: 16 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.3061, allocations: 23.95 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.3065, allocations: 267.1 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3065, allocations: 4 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.3066, allocations: 11.98 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.3066, allocations: 4 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.307, allocations: 219.8 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3083, allocations: 0.754 MB / 0.5702 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.3087, allocations: 288.9 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.309, allocations: 193.5 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3091, allocations: 4 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3091, allocations: 34.5 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.3091, allocations: 4 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001019/0.3101, allocations: 0.5366 MB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3102, allocations: 77.11 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3105, allocations: 352.4 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.3106, allocations: 33.7 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3107, allocations: 148.9 kB / 0.5718 GB, free: 9.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.144e-05/0.3108, allocations: 115 kB / 0.5719 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3109, allocations: 121.4 kB / 0.572 GB, free: 9.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3111, allocations: 350.8 kB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.3115, allocations: 284.8 kB / 0.5726 GB, free: 9.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.312, allocations: 343.3 kB / 0.5729 GB, free: 8.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.3155, allocations: 1.754 MB / 0.5746 GB, free: 6.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3155, allocations: 3.938 kB / 0.5746 GB, free: 6.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001115/0.3166, allocations: 0.7727 MB / 0.5754 GB, free: 6.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3166, allocations: 4 kB / 0.5754 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.3166, allocations: 4 kB / 0.5754 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3167, allocations: 7.938 kB / 0.5754 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.3171, allocations: 103.8 kB / 0.5755 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3171, allocations: 0 / 0.5755 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3173, allocations: 71.34 kB / 0.5756 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.3174, allocations: 12 kB / 0.5756 GB, free: 5.977 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.0002271/0.3176, allocations: 189.9 kB / 0.5758 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.3177, allocations: 27.81 kB / 0.5758 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.3178, allocations: 38.72 kB / 0.5758 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3178, allocations: 7.922 kB / 0.5758 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3178, allocations: 0 / 0.5758 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3179, allocations: 108.8 kB / 0.576 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.3179, allocations: 12 kB / 0.576 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.3181, allocations: 11.98 kB / 0.576 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.3182, allocations: 19.97 kB / 0.576 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001538/0.3197, allocations: 0.7027 MB / 0.5767 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001166/0.3209, allocations: 0.9195 MB / 0.5776 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003073/0.3212, allocations: 192.9 kB / 0.5778 GB, free: 3.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.3214, allocations: 231 kB / 0.578 GB, free: 3.473 MB / 414.1 MB Notification: Performance of Backend: time 3.91e-07/0.3214, allocations: 0 / 0.578 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.323, allocations: 0.7271 MB / 0.5787 GB, free: 2.711 MB / 414.1 MB Notification: Performance of SimCode: time 0.00132/0.3243, allocations: 1.247 MB / 0.5799 GB, free: 1.422 MB / 414.1 MB Notification: Performance of Templates: time 0.0129/0.3372, allocations: 7.747 MB / 0.5875 GB, free: 9.684 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.07515087723732]