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.001868/0.001868, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002252/0.002252, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2264/0.2264, allocations: 46.9 MB / 361.1 MB, free: 4.613 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.002362/0.002362, allocations: 87.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2831, allocations: 65.97 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003094/0.2862, allocations: 1.875 MB / 0.563 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.2887, allocations: 1.428 MB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.2887, allocations: 4 kB / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2889, allocations: 31.72 kB / 0.5644 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.289, allocations: 31.66 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.2905, allocations: 0.569 MB / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.2909, allocations: 283.2 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.291, allocations: 36.28 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.2912, allocations: 115.6 kB / 0.5654 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.2915, allocations: 179.5 kB / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.2915, allocations: 24 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.2929, allocations: 0.928 MB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.2931, allocations: 123.6 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2932, allocations: 139.2 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2944, allocations: 1.082 MB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2944, allocations: 0 / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2944, allocations: 0 / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2944, allocations: 3.938 kB / 0.5679 GB, free: 14.15 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.001352/0.2958, allocations: 0.7391 MB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2958, allocations: 8.031 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.296, allocations: 44.69 kB / 0.5686 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.2964, allocations: 284.1 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2965, allocations: 15.94 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.2965, allocations: 27.95 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.2971, allocations: 271.2 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2971, allocations: 0 / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.2971, allocations: 4 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.2971, allocations: 4 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.2976, allocations: 223.8 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2989, allocations: 0.7541 MB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.2994, allocations: 292.8 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.2997, allocations: 181.6 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2997, allocations: 4 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.2998, allocations: 50.44 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.2998, allocations: 0 / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001107/0.3009, allocations: 0.5366 MB / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.301, allocations: 88.98 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.3013, allocations: 344.5 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.3014, allocations: 33.7 kB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3015, allocations: 148.9 kB / 0.5718 GB, free: 9.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.3016, allocations: 111.1 kB / 0.5719 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3018, allocations: 121.4 kB / 0.572 GB, free: 9.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.302, allocations: 350.8 kB / 0.5723 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.3024, allocations: 288.8 kB / 0.5726 GB, free: 9.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.3029, allocations: 339.3 kB / 0.5729 GB, free: 8.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.3068, allocations: 1.766 MB / 0.5746 GB, free: 6.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3068, allocations: 0 / 0.5746 GB, free: 6.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001253/0.308, allocations: 0.7621 MB / 0.5754 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.308, allocations: 4 kB / 0.5754 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.3081, allocations: 12 kB / 0.5754 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3081, allocations: 3.938 kB / 0.5754 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.3086, allocations: 99.86 kB / 0.5755 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.3086, allocations: 7.938 kB / 0.5755 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3088, allocations: 67.36 kB / 0.5756 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.3089, allocations: 15.98 kB / 0.5756 GB, free: 5.949 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.0002508/0.3091, allocations: 181.5 kB / 0.5758 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.3092, allocations: 23.81 kB / 0.5758 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3093, allocations: 46.64 kB / 0.5758 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3093, allocations: 4 kB / 0.5758 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3093, allocations: 0 / 0.5758 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3093, allocations: 0 / 0.5758 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.3098, allocations: 341.3 kB / 0.5762 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3098, allocations: 0 / 0.5762 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.3102, allocations: 51.91 kB / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3102, allocations: 0 / 0.5762 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.3102, allocations: 23.92 kB / 0.5762 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3102, allocations: 0 / 0.5762 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3102, allocations: 0 / 0.5762 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3114, allocations: 0.7524 MB / 0.577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.3114, allocations: 109 kB / 0.5771 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.3115, allocations: 15.92 kB / 0.5771 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.3118, allocations: 15.98 kB / 0.5771 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.3118, allocations: 11.98 kB / 0.5771 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3118, allocations: 8 kB / 0.5771 GB, free: 4.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.3121, allocations: 223 kB / 0.5773 GB, free: 4.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3121, allocations: 3.938 kB / 0.5773 GB, free: 4.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007982/0.3129, allocations: 255.7 kB / 0.5776 GB, free: 3.809 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.0005329/0.3134, allocations: 251.7 kB / 0.5778 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3145, allocations: 0.6617 MB / 0.5785 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3145, allocations: 4 kB / 0.5785 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.3148, allocations: 191.8 kB / 0.5787 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.3154, allocations: 49 kB / 0.5787 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3168, allocations: 0.9466 MB / 0.5796 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.3173, allocations: 0.8067 MB / 0.5804 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.3175, allocations: 66.25 kB / 0.5805 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.836e-05/0.3176, allocations: 23.44 kB / 0.5805 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3176, allocations: 0 / 0.5805 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of Templates: time 0.01309/0.3307, allocations: 6.633 MB / 0.587 GB, free: 10.12 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 -s gbode -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.15837145736441]