Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 163.8 kB / 24.5 MB, free: 3.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 34.25 MB / 295.4 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 83.86 kB / 443.1 MB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3043, allocations: 66.05 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001415/0.3057, allocations: 0.5011 MB / 0.4977 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3079, allocations: 2.065 MB / 0.4997 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3079, allocations: 0 / 0.4997 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.3079, allocations: 3.938 kB / 0.4998 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.3079, allocations: 0 / 0.4998 GB, free: 28.14 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3097, allocations: 0.7644 MB / 0.5005 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.3097, allocations: 7.234 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.3097, allocations: 0 / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.287e-05/0.3098, allocations: 0 / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.617e-05/0.3098, allocations: 8 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.3098, allocations: 3.219 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3115, allocations: 1.549 MB / 0.502 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.3115, allocations: 3.25 kB / 0.502 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.3115, allocations: 0 / 0.502 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3126, allocations: 1.567 MB / 0.5036 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3126, allocations: 0 / 0.5036 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3126, allocations: 4 kB / 0.5036 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3126, allocations: 0 / 0.5036 GB, free: 27.29 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.0004069/0.313, allocations: 361.4 kB / 0.5039 GB, free: 26.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.313, allocations: 9 kB / 0.5039 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.3131, allocations: 0.9375 kB / 0.5039 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.778e-05/0.3131, allocations: 105.6 kB / 0.504 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3131, allocations: 384 / 0.504 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3131, allocations: 384 / 0.504 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.305e-05/0.3132, allocations: 58.72 kB / 0.5041 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3132, allocations: 0 / 0.5041 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.3132, allocations: 7.094 kB / 0.5041 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.3132, allocations: 0 / 0.5041 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.3132, allocations: 32.64 kB / 0.5041 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.485e-05/0.3133, allocations: 100.3 kB / 0.5042 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.3133, allocations: 40.28 kB / 0.5042 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.3134, allocations: 36.7 kB / 0.5043 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.3134, allocations: 0 / 0.5043 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3134, allocations: 59.33 kB / 0.5043 GB, free: 26.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.3134, allocations: 7.922 kB / 0.5043 GB, free: 26.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.3135, allocations: 128 kB / 0.5045 GB, free: 26.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.3135, allocations: 84.17 kB / 0.5045 GB, free: 26.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.78e-05/0.3136, allocations: 89.86 kB / 0.5046 GB, free: 26.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-06/0.3136, allocations: 25.7 kB / 0.5047 GB, free: 26.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-06/0.3136, allocations: 80.14 kB / 0.5047 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3136, allocations: 0 / 0.5047 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.3136, allocations: 12.69 kB / 0.5047 GB, free: 25.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.3137, allocations: 317.8 kB / 0.5051 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.3137, allocations: 29.17 kB / 0.5051 GB, free: 25.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.3137, allocations: 25.7 kB / 0.5051 GB, free: 25.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.3137, allocations: 66.42 kB / 0.5052 GB, free: 25.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3137, allocations: 0 / 0.5052 GB, free: 25.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.179e-05/0.3138, allocations: 97.98 kB / 0.5053 GB, free: 25.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3138, allocations: 31.7 kB / 0.5053 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3138, allocations: 0 / 0.5053 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3138, allocations: 3.938 kB / 0.5053 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.3138, allocations: 0 / 0.5053 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.3138, allocations: 0 / 0.5053 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.3138, allocations: 3 kB / 0.5053 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3138, allocations: 0 / 0.5053 GB, free: 25.37 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 4.129e-05/0.3139, allocations: 141.7 kB / 0.5054 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/0.3139, allocations: 0 / 0.5054 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-06/0.3139, allocations: 6.938 kB / 0.5054 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.3139, allocations: 0 / 0.5054 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3139, allocations: 6.969 kB / 0.5054 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3139, allocations: 0 / 0.5054 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.421e-05/0.3139, allocations: 96.7 kB / 0.5055 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3139, allocations: 0 / 0.5055 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3139, allocations: 3 kB / 0.5055 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.3139, allocations: 0 / 0.5055 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.3139, allocations: 4 kB / 0.5055 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3139, allocations: 7.938 kB / 0.5056 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3139, allocations: 0 / 0.5056 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.36e-05/0.314, allocations: 119.8 kB / 0.5057 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.314, allocations: 3.031 kB / 0.5057 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.314, allocations: 3.938 kB / 0.5057 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-06/0.314, allocations: 3.938 kB / 0.5057 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.314, allocations: 6.281 kB / 0.5057 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.314, allocations: 0 / 0.5057 GB, free: 24.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.337e-06/0.314, allocations: 75.28 kB / 0.5058 GB, free: 24.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.314, allocations: 0 / 0.5058 GB, free: 24.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006462/0.3147, allocations: 293.4 kB / 0.506 GB, free: 24.83 MB / 446.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.001133/0.3158, allocations: 0.4945 MB / 0.5065 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.3159, allocations: 113.1 kB / 0.5066 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3159, allocations: 3 kB / 0.5066 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.3159, allocations: 84.11 kB / 0.5067 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3161, allocations: 2.891 kB / 0.5067 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001577/0.3162, allocations: 117.2 kB / 0.5068 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.652e-05/0.3162, allocations: 54.36 kB / 0.5069 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.3163, allocations: 128 / 0.5069 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.115e-05/0.3163, allocations: 15.59 kB / 0.5069 GB, free: 24.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3163, allocations: 0 / 0.5069 GB, free: 24.22 MB / 446.1 MB Notification: Performance of Templates: time 0.01442/0.3307, allocations: 7.313 MB / 0.514 GB, free: 23.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.016523257014342] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3384919329546392 0.34937817800000004 0.034243645 Calling exit ...