Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001349/0.001349, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001502/0.001502, allocations: 169.9 kB / 24.5 MB, free: 3.453 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.424/1.424, allocations: 177.2 MB / 204.9 MB, free: 9.062 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.2011/0.2011, allocations: 32.8 MB / 294.1 MB, free: 68 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 62.25 kB / 440.5 MB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.305, allocations: 65.45 MB / 0.4941 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001384/0.3064, allocations: 0.4985 MB / 0.4946 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3085, allocations: 2.064 MB / 0.4966 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.3085, allocations: 0 / 0.4966 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.3085, allocations: 0 / 0.4966 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.3085, allocations: 0 / 0.4966 GB, free: 29.76 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001684/0.3102, allocations: 0.7636 MB / 0.4974 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4e-05/0.3103, allocations: 4 kB / 0.4974 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.3103, allocations: 0 / 0.4974 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.3103, allocations: 6.938 kB / 0.4974 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.521e-05/0.3103, allocations: 0 / 0.4974 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-06/0.3103, allocations: 4 kB / 0.4974 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.3121, allocations: 1.549 MB / 0.4989 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.3121, allocations: 3.125 kB / 0.4989 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.3121, allocations: 0 / 0.4989 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3132, allocations: 1.566 MB / 0.5004 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3132, allocations: 0 / 0.5004 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3132, allocations: 4 kB / 0.5004 GB, free: 28.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3132, allocations: 0 / 0.5004 GB, free: 28.91 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.0004539/0.3137, allocations: 361.7 kB / 0.5008 GB, free: 28.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.3137, allocations: 7.594 kB / 0.5008 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.3137, allocations: 2.312 kB / 0.5008 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.511e-05/0.3138, allocations: 104.2 kB / 0.5009 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.3138, allocations: 3.75 kB / 0.5009 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3138, allocations: 10.19 kB / 0.5009 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.585e-05/0.3139, allocations: 53.25 kB / 0.501 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3139, allocations: 3.938 kB / 0.501 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.3139, allocations: 4 kB / 0.501 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3139, allocations: 2.344 kB / 0.501 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.3139, allocations: 25.7 kB / 0.501 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.832e-05/0.314, allocations: 103.3 kB / 0.5011 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.314, allocations: 41.81 kB / 0.5011 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.314, allocations: 31.75 kB / 0.5012 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/0.314, allocations: 1.156 kB / 0.5012 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3141, allocations: 63.92 kB / 0.5012 GB, free: 28.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3141, allocations: 0 / 0.5012 GB, free: 28.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.3142, allocations: 124.3 kB / 0.5013 GB, free: 27.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3142, allocations: 84.45 kB / 0.5014 GB, free: 27.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.826e-05/0.3143, allocations: 89.86 kB / 0.5015 GB, free: 27.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.3143, allocations: 29.12 kB / 0.5015 GB, free: 27.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-06/0.3143, allocations: 84.08 kB / 0.5016 GB, free: 27.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3143, allocations: 0 / 0.5016 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.3143, allocations: 16.97 kB / 0.5016 GB, free: 27.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.3144, allocations: 310.8 kB / 0.5019 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.3144, allocations: 28.95 kB / 0.502 GB, free: 27.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.3144, allocations: 25.7 kB / 0.502 GB, free: 27.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.3144, allocations: 66.98 kB / 0.502 GB, free: 27.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3144, allocations: 4.062 kB / 0.502 GB, free: 27.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.047e-05/0.3145, allocations: 87.39 kB / 0.5021 GB, free: 27.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3145, allocations: 36.11 kB / 0.5022 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.3145, allocations: 0 / 0.5022 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3145, allocations: 3.516 kB / 0.5022 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.3145, allocations: 7.125 kB / 0.5022 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3145, allocations: 0 / 0.5022 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.3145, allocations: 0 / 0.5022 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.3145, allocations: 0 / 0.5022 GB, free: 26.99 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.192e-05/0.3146, allocations: 138.8 kB / 0.5023 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.3146, allocations: 3.938 kB / 0.5023 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-06/0.3146, allocations: 6.219 kB / 0.5023 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3146, allocations: 0 / 0.5023 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3146, allocations: 0 / 0.5023 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3146, allocations: 3.328 kB / 0.5023 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.507e-05/0.3146, allocations: 104.4 kB / 0.5024 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3146, allocations: 0 / 0.5024 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3146, allocations: 0 / 0.5024 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.3146, allocations: 0 / 0.5024 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3146, allocations: 11.81 kB / 0.5024 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3146, allocations: 4 kB / 0.5024 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3146, allocations: 3.984 kB / 0.5024 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.379e-05/0.3147, allocations: 116.7 kB / 0.5025 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-06/0.3147, allocations: 0 / 0.5025 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.3147, allocations: 10.66 kB / 0.5026 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.3147, allocations: 0 / 0.5026 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-06/0.3147, allocations: 0 / 0.5026 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3147, allocations: 3.25 kB / 0.5026 GB, free: 26.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.909e-06/0.3147, allocations: 75.28 kB / 0.5026 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3147, allocations: 3.938 kB / 0.5026 GB, free: 26.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006385/0.3154, allocations: 290.8 kB / 0.5029 GB, free: 26.45 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.001177/0.3166, allocations: 0.4982 MB / 0.5034 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.3166, allocations: 112.2 kB / 0.5035 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3166, allocations: 0 / 0.5035 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.3167, allocations: 83.39 kB / 0.5036 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.3168, allocations: 6.75 kB / 0.5036 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001379/0.3169, allocations: 113.2 kB / 0.5037 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.3169, allocations: 57.42 kB / 0.5038 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.317, allocations: 0 / 0.5038 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-06/0.317, allocations: 12.62 kB / 0.5038 GB, free: 25.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.317, allocations: 0 / 0.5038 GB, free: 25.85 MB / 446.1 MB Notification: Performance of Templates: time 0.01255/0.3295, allocations: 7.32 MB / 0.5109 GB, free: 25.33 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.095499679911882] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.33731743204407394 0.34859761300000003 0.032837197000000005 Calling exit ...