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.00154/0.00154, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001682/0.001682, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.379/1.379, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2106/0.2106, allocations: 46.94 MB / 362.1 MB, free: 4.203 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.002286/0.002286, allocations: 75.88 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2646, allocations: 66.09 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002937/0.2675, allocations: 1.855 MB / 0.5641 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2696, allocations: 1.42 MB / 0.5655 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.2697, allocations: 7.938 kB / 0.5655 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2698, allocations: 31.72 kB / 0.5656 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.2699, allocations: 35.66 kB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2715, allocations: 0.6781 MB / 0.5663 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.2719, allocations: 307.2 kB / 0.5666 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.272, allocations: 36.56 kB / 0.5666 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2722, allocations: 123.6 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2724, allocations: 175.5 kB / 0.5669 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.2725, allocations: 28 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.2744, allocations: 1.326 MB / 0.5682 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2746, allocations: 127.6 kB / 0.5683 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2747, allocations: 139.2 kB / 0.5685 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.2759, allocations: 1.101 MB / 0.5695 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2759, allocations: 0 / 0.5695 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2759, allocations: 0 / 0.5695 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2759, allocations: 0 / 0.5695 GB, free: 12.86 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.00113/0.277, allocations: 0.6716 MB / 0.5702 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2771, allocations: 8.031 kB / 0.5702 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2772, allocations: 44.69 kB / 0.5702 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.2776, allocations: 222.2 kB / 0.5704 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2776, allocations: 12 kB / 0.5705 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.2777, allocations: 35.94 kB / 0.5705 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.2782, allocations: 323.1 kB / 0.5708 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2782, allocations: 0 / 0.5708 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2782, allocations: 8 kB / 0.5708 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.2782, allocations: 11.92 kB / 0.5708 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.2786, allocations: 223.8 kB / 0.571 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2799, allocations: 0.7256 MB / 0.5717 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.2803, allocations: 284.9 kB / 0.572 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.2806, allocations: 185.6 kB / 0.5722 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2807, allocations: 8 kB / 0.5722 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.2807, allocations: 38.5 kB / 0.5722 GB, free: 9.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.2807, allocations: 0 / 0.5722 GB, free: 9.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.00101/0.2817, allocations: 0.5327 MB / 0.5728 GB, free: 9.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2818, allocations: 85.05 kB / 0.5728 GB, free: 9.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.2821, allocations: 352.6 kB / 0.5732 GB, free: 8.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.2822, allocations: 37.7 kB / 0.5732 GB, free: 8.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2823, allocations: 136.9 kB / 0.5733 GB, free: 8.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.2823, allocations: 115 kB / 0.5734 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2825, allocations: 121.4 kB / 0.5736 GB, free: 8.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2827, allocations: 350.8 kB / 0.5739 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.2831, allocations: 288.8 kB / 0.5742 GB, free: 7.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.2836, allocations: 340.1 kB / 0.5745 GB, free: 7.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.287, allocations: 1.754 MB / 0.5762 GB, free: 5.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.287, allocations: 0 / 0.5762 GB, free: 5.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001152/0.2882, allocations: 0.7732 MB / 0.577 GB, free: 5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2882, allocations: 4 kB / 0.577 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.2882, allocations: 11.98 kB / 0.577 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2883, allocations: 3.938 kB / 0.577 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.2887, allocations: 95.88 kB / 0.5771 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2887, allocations: 4 kB / 0.5771 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2889, allocations: 71.34 kB / 0.5771 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.2889, allocations: 12 kB / 0.5772 GB, free: 4.801 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.0002344/0.2892, allocations: 179.7 kB / 0.5773 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.2893, allocations: 27.8 kB / 0.5774 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2894, allocations: 42.66 kB / 0.5774 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2894, allocations: 4 kB / 0.5774 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2894, allocations: 0 / 0.5774 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2894, allocations: 0 / 0.5774 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.2898, allocations: 316.4 kB / 0.5777 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2898, allocations: 0 / 0.5777 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.2902, allocations: 55.89 kB / 0.5778 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2902, allocations: 0 / 0.5778 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.2902, allocations: 15.94 kB / 0.5778 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2902, allocations: 4 kB / 0.5778 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2902, allocations: 3.984 kB / 0.5778 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2912, allocations: 0.7591 MB / 0.5785 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.2913, allocations: 35.84 kB / 0.5786 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.2913, allocations: 15.94 kB / 0.5786 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2915, allocations: 11.98 kB / 0.5786 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.2916, allocations: 11.97 kB / 0.5786 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.2916, allocations: 12 kB / 0.5786 GB, free: 3.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.2919, allocations: 223 kB / 0.5788 GB, free: 3.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2919, allocations: 4 kB / 0.5788 GB, free: 3.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.2925, allocations: 247.7 kB / 0.5791 GB, free: 2.777 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.0004772/0.293, allocations: 258.8 kB / 0.5793 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009852/0.294, allocations: 0.6545 MB / 0.5799 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.294, allocations: 0 / 0.5799 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2943, allocations: 204.6 kB / 0.5801 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.2948, allocations: 45 kB / 0.5802 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2961, allocations: 0.9357 MB / 0.5811 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.2965, allocations: 0.8107 MB / 0.5819 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.2967, allocations: 66.25 kB / 0.5819 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.2968, allocations: 23.44 kB / 0.582 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2968, allocations: 0 / 0.582 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Templates: time 0.01177/0.3085, allocations: 6.732 MB / 0.5885 GB, free: 8.984 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.7482279350515455]