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.001616/0.001616, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002062/0.002062, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.2128/0.2128, allocations: 44.91 MB / 359.6 MB, free: 6.246 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.002209/0.002209, allocations: 71.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2856, allocations: 65.46 MB / 0.5582 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003052/0.2886, allocations: 1.877 MB / 0.5601 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.2909, allocations: 1.42 MB / 0.5615 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.888e-05/0.291, allocations: 4 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.2911, allocations: 35.7 kB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.2912, allocations: 27.67 kB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.2929, allocations: 0.682 MB / 0.5622 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.2934, allocations: 307.2 kB / 0.5625 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2935, allocations: 36.56 kB / 0.5625 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2937, allocations: 123.6 kB / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.294, allocations: 175.5 kB / 0.5628 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.294, allocations: 24 kB / 0.5628 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.2962, allocations: 1.361 MB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.2963, allocations: 127.6 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2965, allocations: 143.2 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.2978, allocations: 1.105 MB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2978, allocations: 0 / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2978, allocations: 0 / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.2978, allocations: 4 kB / 0.5655 GB, free: 244 kB / 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.001323/0.2992, allocations: 0.666 MB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2992, allocations: 8.031 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.2994, allocations: 44.69 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.2998, allocations: 223.9 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2998, allocations: 16 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.2999, allocations: 24 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.3004, allocations: 279.7 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3004, allocations: 3.938 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3004, allocations: 11.94 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3004, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3008, allocations: 215.8 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3021, allocations: 0.7295 MB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.3026, allocations: 296.8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.3029, allocations: 185.6 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.303, allocations: 3.984 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.303, allocations: 42.56 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.303, allocations: 0 / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001068/0.3041, allocations: 0.5288 MB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.3041, allocations: 85.05 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.3045, allocations: 352.6 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.3046, allocations: 33.7 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3047, allocations: 148.9 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.3048, allocations: 103.1 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3049, allocations: 129.4 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3051, allocations: 346.8 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.3056, allocations: 284.8 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.3061, allocations: 344.1 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.3097, allocations: 1.764 MB / 0.5721 GB, free: 9.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3097, allocations: 0 / 0.5721 GB, free: 9.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001209/0.3109, allocations: 0.762 MB / 0.5729 GB, free: 8.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3109, allocations: 8 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/0.311, allocations: 7.984 kB / 0.5729 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.311, allocations: 8 kB / 0.5729 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.3114, allocations: 95.88 kB / 0.573 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3115, allocations: 0 / 0.573 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3117, allocations: 71.39 kB / 0.5731 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3117, allocations: 8 kB / 0.5731 GB, free: 8.242 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.0002433/0.3119, allocations: 183.9 kB / 0.5732 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.312, allocations: 31.77 kB / 0.5733 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3121, allocations: 38.7 kB / 0.5733 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3121, allocations: 4 kB / 0.5733 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3121, allocations: 0 / 0.5733 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.3121, allocations: 4 kB / 0.5733 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3126, allocations: 308.3 kB / 0.5736 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3126, allocations: 3.984 kB / 0.5736 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.3129, allocations: 51.92 kB / 0.5737 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.313, allocations: 4 kB / 0.5737 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.313, allocations: 11.98 kB / 0.5737 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.313, allocations: 8 kB / 0.5737 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.313, allocations: 0 / 0.5737 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3141, allocations: 0.7562 MB / 0.5744 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3141, allocations: 31.88 kB / 0.5745 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.3142, allocations: 12 kB / 0.5745 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3144, allocations: 15.92 kB / 0.5745 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3145, allocations: 15.97 kB / 0.5745 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3145, allocations: 8 kB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.3147, allocations: 223 kB / 0.5747 GB, free: 6.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3147, allocations: 0 / 0.5747 GB, free: 6.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.3155, allocations: 259.5 kB / 0.575 GB, free: 6.219 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.0005102/0.316, allocations: 266.7 kB / 0.5752 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.317, allocations: 0.6562 MB / 0.5759 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3171, allocations: 0 / 0.5759 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.3174, allocations: 195.7 kB / 0.576 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.3179, allocations: 39.58 kB / 0.5761 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3193, allocations: 0.9894 MB / 0.5771 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3197, allocations: 0.8107 MB / 0.5778 GB, free: 3.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3199, allocations: 23.44 kB / 0.5779 GB, free: 3.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3199, allocations: 0 / 0.5779 GB, free: 3.16 MB / 414.1 MB Notification: Performance of Templates: time 0.01012/0.33, allocations: 6.462 MB / 0.5842 GB, free: 12.78 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] [Calling os._exit(0), Time elapsed: 10.282239553052932] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.33866722299717367 0.35335295399999994 0.052277293 Calling exit ...