Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.001913/0.001913, allocations: 84.16 kB / 20.68 MB, free: 1.023 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.001439/0.001439, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.48/1.48, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 34.28 MB / 295 MB, free: 14.59 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+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.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.749e-05, allocations: 9.594 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00141/0.001438, allocations: 0.4972 MB / 443.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.009706, allocations: 4.567 MB / 447.7 MB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.009746, allocations: 0 / 447.7 MB, free: 340 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.009776, allocations: 0 / 447.7 MB, free: 340 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.009783, allocations: 0 / 447.7 MB, free: 340 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.2231/0.2329, allocations: 3.272 MB / 451 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.233, allocations: 3.844 kB / 451 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.233, allocations: 5.469 kB / 451 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.2331, allocations: 5.125 kB / 451 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.026e-05/0.2331, allocations: 2.031 kB / 451 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.2331, allocations: 0 / 451 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03282/0.2659, allocations: 19.81 MB / 470.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.2659, allocations: 0 / 470.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.2659, allocations: 4 kB / 470.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04724/0.3132, allocations: 30.7 MB / 0.4898 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.3132, allocations: 0 / 0.4898 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3132, allocations: 0 / 0.4898 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3132, allocations: 0 / 0.4898 GB, free: 10.87 MB / 398.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.008226/0.3214, allocations: 0.5982 MB / 0.4904 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3215, allocations: 15.22 kB / 0.4904 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3215, allocations: 0.9375 kB / 0.4904 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.3216, allocations: 102.4 kB / 0.4905 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3216, allocations: 0 / 0.4905 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3216, allocations: 7.938 kB / 0.4905 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3218, allocations: 59.39 kB / 0.4905 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3218, allocations: 0 / 0.4905 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3218, allocations: 1.875 kB / 0.4905 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3218, allocations: 4 kB / 0.4905 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.3218, allocations: 25.7 kB / 0.4906 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.3219, allocations: 100.5 kB / 0.4907 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.322, allocations: 44.31 kB / 0.4907 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.322, allocations: 30.56 kB / 0.4907 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3221, allocations: 4.062 kB / 0.4907 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.3221, allocations: 64.19 kB / 0.4908 GB, free: 9.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3221, allocations: 4 kB / 0.4908 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002165/0.3223, allocations: 117.9 kB / 0.4909 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3224, allocations: 77.11 kB / 0.491 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.3224, allocations: 93.84 kB / 0.4911 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3225, allocations: 29.7 kB / 0.4911 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.3225, allocations: 80.14 kB / 0.4912 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3225, allocations: 3.953 kB / 0.4912 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.3225, allocations: 18.83 kB / 0.4912 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3227, allocations: 314.8 kB / 0.4915 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.3227, allocations: 27.02 kB / 0.4915 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.3227, allocations: 32.7 kB / 0.4916 GB, free: 8.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.464e-05/0.3228, allocations: 60.27 kB / 0.4916 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3228, allocations: 1.5 kB / 0.4916 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.904e-05/0.3229, allocations: 93.09 kB / 0.4917 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.3229, allocations: 37.64 kB / 0.4917 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3229, allocations: 0 / 0.4917 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3229, allocations: 0 / 0.4917 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.3229, allocations: 7.078 kB / 0.4917 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3229, allocations: 0 / 0.4917 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.323, allocations: 4.094 kB / 0.4918 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.323, allocations: 6.547 kB / 0.4918 GB, free: 8.582 MB / 398.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 9.963e-05/0.3231, allocations: 139.5 kB / 0.4919 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3231, allocations: 3.938 kB / 0.4919 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-06/0.3231, allocations: 3 kB / 0.4919 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3231, allocations: 4 kB / 0.4919 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3231, allocations: 0 / 0.4919 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.3231, allocations: 0 / 0.4919 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.826e-05/0.3232, allocations: 101.3 kB / 0.492 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3232, allocations: 3.938 kB / 0.492 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3232, allocations: 4 kB / 0.492 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3232, allocations: 4 kB / 0.492 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3232, allocations: 3.938 kB / 0.492 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3232, allocations: 0 / 0.492 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3232, allocations: 0 / 0.492 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.3233, allocations: 119.2 kB / 0.4921 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.3233, allocations: 0 / 0.4921 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3233, allocations: 7.938 kB / 0.4921 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.3233, allocations: 0 / 0.4921 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.3233, allocations: 0 / 0.4921 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.3234, allocations: 4.031 kB / 0.4921 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.3234, allocations: 75.28 kB / 0.4922 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3234, allocations: 0 / 0.4922 GB, free: 8.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.01056/0.3339, allocations: 3.791 MB / 0.4959 GB, free: 4.254 MB / 398.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.02026/0.3542, allocations: 1.07 MB / 0.497 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3545, allocations: 110.8 kB / 0.4971 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3545, allocations: 0 / 0.4971 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.3545, allocations: 89.09 kB / 0.4971 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3547, allocations: 4.125 kB / 0.4972 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3551, allocations: 113.5 kB / 0.4973 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.3551, allocations: 59.34 kB / 0.4973 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.636e-06/0.3551, allocations: 0 / 0.4973 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.3552, allocations: 12.5 kB / 0.4973 GB, free: 2.738 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3552, allocations: 0 / 0.4973 GB, free: 2.738 MB / 398.1 MB Notification: Performance of Templates: time 0.183/0.5382, allocations: 112.7 MB / 0.6074 GB, free: 1.871 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.833290714770555] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.5473863184452057 0.5637901790000001 0.247281141 Calling exit ...