Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.002141/0.002141, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003117/0.003117, allocations: 214 kB / 23.73 MB, free: 4.16 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.2299/0.2299, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 72.11 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3293, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001578/0.3309, allocations: 499.5 kB / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.3332, allocations: 1.521 MB / 0.563 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.3333, allocations: 0 / 0.563 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.3333, allocations: 0 / 0.563 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.3333, allocations: 0 / 0.563 GB, free: 2.133 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3343, allocations: 254.2 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.3344, allocations: 4 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.3344, allocations: 4 kB / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.3344, allocations: 0 / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.3344, allocations: 4 kB / 0.5633 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.3344, allocations: 3.984 kB / 0.5633 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3355, allocations: 0.6868 MB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.3355, allocations: 0 / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.3355, allocations: 3.938 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.3363, allocations: 0.6146 MB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3363, allocations: 4 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3363, allocations: 0 / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3363, allocations: 3.938 kB / 0.5646 GB, free: 0.5625 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.0004383/0.3367, allocations: 291.9 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.3367, allocations: 8.031 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.3368, allocations: 4.938 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.3369, allocations: 102.5 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3369, allocations: 4.375 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3369, allocations: 384 / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.337, allocations: 67.64 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.337, allocations: 0 / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.337, allocations: 0 / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.337, allocations: 0 / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.337, allocations: 25.7 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.3372, allocations: 101.3 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.3372, allocations: 44.28 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.3373, allocations: 38.64 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.3373, allocations: 0 / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.3373, allocations: 64.14 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3373, allocations: 0 / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002007/0.3375, allocations: 118.8 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3376, allocations: 85.09 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.3376, allocations: 93.81 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3377, allocations: 25.7 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.3377, allocations: 80.14 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.3377, allocations: 4.125 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.3378, allocations: 17.72 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3379, allocations: 310.8 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.3379, allocations: 25.7 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.338, allocations: 33.64 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.338, allocations: 64.25 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.338, allocations: 0 / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.481e-05/0.3381, allocations: 85.11 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.3382, allocations: 33.7 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3382, allocations: 4.094 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3382, allocations: 3.938 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-06/0.3382, allocations: 3.984 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3382, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.3382, allocations: 4 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3382, allocations: 4 kB / 0.5662 GB, free: 14.57 MB / 414.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.273e-05/0.3383, allocations: 131.5 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.3383, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.3384, allocations: 10.94 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3384, allocations: 0 / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3384, allocations: 11.88 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3384, allocations: 0 / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.3384, allocations: 101.3 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.3384, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3384, allocations: 4 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3384, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3385, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3385, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3385, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.3386, allocations: 120.5 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-06/0.3386, allocations: 3.969 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3386, allocations: 8 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.3386, allocations: 3.938 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.3386, allocations: 3.984 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3386, allocations: 0 / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.3387, allocations: 76.3 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3387, allocations: 0 / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.339, allocations: 123.9 kB / 0.5668 GB, free: 13.91 MB / 414.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.0006794/0.3397, allocations: 179.5 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3399, allocations: 110.8 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3399, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.3399, allocations: 85.11 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.34, allocations: 4.125 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.3402, allocations: 114.7 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.3403, allocations: 51.36 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.699e-06/0.3403, allocations: 0 / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3403, allocations: 11.44 kB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3403, allocations: 0 / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.0081/0.3484, allocations: 3.922 MB / 0.5712 GB, free: 9.336 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.283282162621617] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.35871294140815735 0.373318021 0.033463616 Calling exit ...