Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 108.5 kB / 21.23 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 190.5 kB / 24.51 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2369/0.2369, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3758, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001725/0.3775, allocations: 0.4933 MB / 0.5493 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.3857, allocations: 4.909 MB / 0.5541 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.3857, allocations: 0 / 0.5541 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.3858, allocations: 3.938 kB / 0.5541 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.3858, allocations: 1.25 kB / 0.5541 GB, free: 9.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009338/0.3951, allocations: 3.269 MB / 0.5573 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.3952, allocations: 3.938 kB / 0.5573 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.3952, allocations: 7.938 kB / 0.5573 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.3952, allocations: 8 kB / 0.5573 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.268e-05/0.3953, allocations: 7.984 kB / 0.5573 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.3953, allocations: 0 / 0.5573 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0372/0.4325, allocations: 21.03 MB / 0.5778 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.4325, allocations: 0 / 0.5778 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.4325, allocations: 0 / 0.5778 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04451/0.477, allocations: 27.6 MB / 0.6048 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.477, allocations: 0 / 0.6048 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.477, allocations: 0 / 0.6048 GB, free: 6.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.477, allocations: 0 / 0.6048 GB, free: 6.039 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01259/0.4896, allocations: 0.6022 MB / 0.6054 GB, free: 5.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.4897, allocations: 8.922 kB / 0.6054 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.4897, allocations: 4.875 kB / 0.6054 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4898, allocations: 109.4 kB / 0.6055 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4899, allocations: 0 / 0.6055 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.4899, allocations: 0 / 0.6055 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.49, allocations: 37.69 kB / 0.6055 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.49, allocations: 0 / 0.6055 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.49, allocations: 0 / 0.6055 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.49, allocations: 4 kB / 0.6055 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.4901, allocations: 0 / 0.6055 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.4902, allocations: 120.7 kB / 0.6056 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.72e-05/0.4903, allocations: 18.52 kB / 0.6057 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.4903, allocations: 16.78 kB / 0.6057 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.4903, allocations: 4.094 kB / 0.6057 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/0.4904, allocations: 64.25 kB / 0.6057 GB, free: 4.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4904, allocations: 0 / 0.6057 GB, free: 4.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002421/0.4906, allocations: 59.41 kB / 0.6058 GB, free: 4.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.4907, allocations: 81.05 kB / 0.6059 GB, free: 4.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.4908, allocations: 89.86 kB / 0.606 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4908, allocations: 25.7 kB / 0.606 GB, free: 4.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.4909, allocations: 84.14 kB / 0.6061 GB, free: 4.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.4909, allocations: 7.938 kB / 0.6061 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.4909, allocations: 13.84 kB / 0.6061 GB, free: 4.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4911, allocations: 318.8 kB / 0.6064 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.4912, allocations: 0 / 0.6064 GB, free: 4.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.4912, allocations: 4 kB / 0.6064 GB, free: 4.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/0.4912, allocations: 64.27 kB / 0.6065 GB, free: 4.105 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4912, allocations: 0 / 0.6065 GB, free: 4.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.4913, allocations: 63.39 kB / 0.6065 GB, free: 4.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.4914, allocations: 37.64 kB / 0.6066 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4914, allocations: 4.094 kB / 0.6066 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4914, allocations: 3.938 kB / 0.6066 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.4914, allocations: 0 / 0.6066 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4914, allocations: 0 / 0.6066 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.4915, allocations: 0 / 0.6066 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4915, allocations: 7.938 kB / 0.6066 GB, free: 3.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001069/0.4916, allocations: 131.5 kB / 0.6067 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4916, allocations: 3.984 kB / 0.6067 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.4916, allocations: 3 kB / 0.6067 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4916, allocations: 8 kB / 0.6067 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4916, allocations: 0 / 0.6067 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4916, allocations: 0 / 0.6067 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.4917, allocations: 120.7 kB / 0.6068 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4917, allocations: 0 / 0.6068 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.4917, allocations: 0 / 0.6068 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.4917, allocations: 7.984 kB / 0.6068 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.4918, allocations: 0 / 0.6068 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4918, allocations: 0 / 0.6068 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4918, allocations: 3.938 kB / 0.6068 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.4919, allocations: 98.72 kB / 0.6069 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.4919, allocations: 7.922 kB / 0.6069 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4919, allocations: 0 / 0.6069 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-06/0.4919, allocations: 0 / 0.6069 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.4919, allocations: 4 kB / 0.6069 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4919, allocations: 0 / 0.6069 GB, free: 3.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.492, allocations: 79.22 kB / 0.607 GB, free: 3.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.492, allocations: 0 / 0.607 GB, free: 3.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01628/0.5083, allocations: 3.791 MB / 0.6107 GB, free: 15.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.02425/0.5325, allocations: 0.9736 MB / 0.6117 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.5327, allocations: 59.41 kB / 0.6117 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5327, allocations: 0 / 0.6117 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.5327, allocations: 63.33 kB / 0.6118 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.5329, allocations: 0 / 0.6118 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.5331, allocations: 81.2 kB / 0.6119 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.5334, allocations: 0.6727 MB / 0.6125 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.5334, allocations: 0 / 0.6125 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.5334, allocations: 11.44 kB / 0.6125 GB, free: 13.71 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5334, allocations: 0 / 0.6125 GB, free: 13.71 MB / 462.1 MB Notification: Performance of Templates: time 0.201/0.7345, allocations: 112.6 MB / 0.7225 GB, free: 12.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 15.945788393728435] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.7441080659627914 1.024423329 0.280911406 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f13eac957b0>