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.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.0018/0.0018, allocations: 82.67 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.001832/0.001832, allocations: 162.8 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.401/1.401, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.2015/0.2015, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.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.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 1.543e-06/1.543e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.548e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001349/0.001374, allocations: 0.5001 MB / 440.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007467/0.008841, allocations: 4.573 MB / 445.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.008861, allocations: 0 / 445.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.008879, allocations: 0 / 445.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.72e-06/0.008885, allocations: 0 / 445.1 MB, free: 3.082 MB / 366.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.1782/0.1871, allocations: 3.28 MB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.81e-05/0.1872, allocations: 1.094 kB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1872, allocations: 1.922 kB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.1873, allocations: 1.766 kB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.1873, allocations: 2.312 kB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-06/0.1873, allocations: 0 / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03208/0.2194, allocations: 19.81 MB / 468.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.2194, allocations: 0 / 468.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2194, allocations: 2.531 kB / 468.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04069/0.2601, allocations: 30.69 MB / 498.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.2601, allocations: 3.844 kB / 498.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2601, allocations: 0 / 498.9 MB, free: 15.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2601, allocations: 4 kB / 498.9 MB, free: 15.16 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.007173/0.2673, allocations: 0.6047 MB / 499.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2673, allocations: 8.031 kB / 499.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.2674, allocations: 0.9375 kB / 499.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/0.2674, allocations: 102.4 kB / 499.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2675, allocations: 4 kB / 499.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2675, allocations: 3.938 kB / 499.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.2676, allocations: 58.58 kB / 499.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2676, allocations: 4.5 kB / 499.7 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.2676, allocations: 2.375 kB / 499.7 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2676, allocations: 0 / 499.7 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.2676, allocations: 31.39 kB / 499.8 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.2678, allocations: 97.84 kB / 499.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.2678, allocations: 44.27 kB / 499.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.2679, allocations: 37.66 kB / 499.9 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-06/0.2679, allocations: 4 kB / 499.9 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.2679, allocations: 64.2 kB / 500 MB, free: 13.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2679, allocations: 0 / 500 MB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.2681, allocations: 114.8 kB / 0.4884 GB, free: 13.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.2682, allocations: 88.8 kB / 0.4885 GB, free: 13.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.2682, allocations: 89.86 kB / 0.4886 GB, free: 13.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2683, allocations: 25.7 kB / 0.4886 GB, free: 13.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.2683, allocations: 80.14 kB / 0.4887 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.2683, allocations: 7.953 kB / 0.4887 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2684, allocations: 13.72 kB / 0.4887 GB, free: 13.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2685, allocations: 315 kB / 0.489 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.2685, allocations: 25.7 kB / 0.489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.2686, allocations: 33.69 kB / 0.489 GB, free: 13.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.866e-05/0.2686, allocations: 64.27 kB / 0.4891 GB, free: 13.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2686, allocations: 1.688 kB / 0.4891 GB, free: 13.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.565e-05/0.2687, allocations: 81.11 kB / 0.4892 GB, free: 12.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.2687, allocations: 45.38 kB / 0.4892 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2687, allocations: 0 / 0.4892 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2688, allocations: 0 / 0.4892 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.2688, allocations: 6.625 kB / 0.4892 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2688, allocations: 0 / 0.4892 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.2688, allocations: 4 kB / 0.4892 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2688, allocations: 0 / 0.4892 GB, free: 12.88 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.29e-05/0.2689, allocations: 131.5 kB / 0.4894 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.2689, allocations: 11.94 kB / 0.4894 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.215e-06/0.2689, allocations: 3 kB / 0.4894 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.2689, allocations: 0 / 0.4894 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2689, allocations: 3.75 kB / 0.4894 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2689, allocations: 0 / 0.4894 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/0.269, allocations: 97.31 kB / 0.4895 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.269, allocations: 8 kB / 0.4895 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.269, allocations: 0 / 0.4895 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.269, allocations: 3.938 kB / 0.4895 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.269, allocations: 3.938 kB / 0.4895 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.269, allocations: 0 / 0.4895 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.269, allocations: 0 / 0.4895 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.2691, allocations: 119.9 kB / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-06/0.2691, allocations: 4 kB / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2692, allocations: 3.938 kB / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.2692, allocations: 0 / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.2692, allocations: 7.969 kB / 0.4896 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2692, allocations: 0 / 0.4896 GB, free: 12.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.537e-05/0.2692, allocations: 79.28 kB / 0.4897 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 0 / 0.4897 GB, free: 12.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.01033/0.2795, allocations: 3.787 MB / 0.4934 GB, free: 8.551 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.01954/0.2991, allocations: 1.066 MB / 0.4944 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.2992, allocations: 118.3 kB / 0.4945 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2992, allocations: 0 / 0.4945 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.2993, allocations: 85.17 kB / 0.4946 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2994, allocations: 4 kB / 0.4946 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.2997, allocations: 110.5 kB / 0.4947 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.867e-05/0.2997, allocations: 51.36 kB / 0.4948 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.869e-06/0.2997, allocations: 0 / 0.4948 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.2997, allocations: 12.5 kB / 0.4948 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2997, allocations: 0 / 0.4948 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Templates: time 0.1633/0.4631, allocations: 112.7 MB / 0.6049 GB, free: 6.258 MB / 0.4981 GB " [Timeout remaining time 660] 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: 12.88958416506648] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.47144172713160515 0.48591555399999997 0.22276101 Calling exit ...