Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001609/0.001609, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.001726/0.001726, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1995/0.1995, allocations: 32.81 MB / 293.5 MB, free: 36 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.869e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001372/0.0014, allocations: 0.4923 MB / 440.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.003551, allocations: 1.522 MB / 442.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.003581, allocations: 0 / 442.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.156e-05/0.003592, allocations: 0 / 442.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.003598, allocations: 0 / 442.1 MB, free: 6.141 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009152/0.004513, allocations: 255.2 kB / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.004554, allocations: 0 / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.004595, allocations: 11.97 kB / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.004617, allocations: 0 / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.636e-05/0.004633, allocations: 0 / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.004639, allocations: 0 / 442.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.005657, allocations: 0.683 MB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.005663, allocations: 0 / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.005678, allocations: 0 / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009146/0.006593, allocations: 0.7487 MB / 443.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006596, allocations: 4 kB / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006597, allocations: 0 / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.006601, allocations: 0 / 443.8 MB, free: 4.441 MB / 366.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.0004374/0.007038, allocations: 295.8 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.007072, allocations: 8.031 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.0071, allocations: 0.9375 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.795e-05/0.007178, allocations: 105.8 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.007189, allocations: 384 / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.0072, allocations: 384 / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.007303, allocations: 63.91 kB / 444.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007311, allocations: 192 / 444.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.007318, allocations: 4.375 kB / 444.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.007327, allocations: 7.922 kB / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.007357, allocations: 29.69 kB / 444.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.007483, allocations: 101.3 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.007547, allocations: 48.25 kB / 444.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.007576, allocations: 30.56 kB / 444.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.007584, allocations: 0 / 444.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.007632, allocations: 60.27 kB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.007633, allocations: 8 kB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001928/0.007826, allocations: 114.8 kB / 444.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.00788, allocations: 85.05 kB / 444.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.237e-05/0.007933, allocations: 93.86 kB / 444.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.007947, allocations: 29.64 kB / 444.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.00798, allocations: 80.14 kB / 444.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.007996, allocations: 3.953 kB / 444.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.008025, allocations: 17.7 kB / 444.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.008168, allocations: 310.8 kB / 445.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.008196, allocations: 25.7 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.008217, allocations: 29.7 kB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.008285, allocations: 72.39 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008286, allocations: 0 / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.306e-05/0.008379, allocations: 85.09 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.008413, allocations: 33.7 kB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008418, allocations: 0 / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.008431, allocations: 0 / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.008431, allocations: 0 / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.008437, allocations: 3.938 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.008454, allocations: 4 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.008459, allocations: 0 / 445.5 MB, free: 2.449 MB / 366.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.945e-05/0.008559, allocations: 143.6 kB / 445.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.008569, allocations: 4 kB / 445.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.008579, allocations: 3 kB / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.00858, allocations: 0 / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.008583, allocations: 0 / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008588, allocations: 3.938 kB / 445.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.008743, allocations: 97.33 kB / 445.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008744, allocations: 0 / 445.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.008744, allocations: 0 / 445.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.008749, allocations: 7.922 kB / 445.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.008755, allocations: 0 / 445.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008756, allocations: 4 kB / 445.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008757, allocations: 0 / 445.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.00889, allocations: 124.5 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.008894, allocations: 0 / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.008904, allocations: 4 kB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.008912, allocations: 0 / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.008928, allocations: 3.938 kB / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.00893, allocations: 0 / 445.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.008973, allocations: 87.16 kB / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008973, allocations: 0 / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.009397, allocations: 127.9 kB / 446.1 MB, free: 1.773 MB / 366.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.0007453/0.01014, allocations: 187.4 kB / 446.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.0103, allocations: 126.7 kB / 446.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.01031, allocations: 0 / 446.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.425e-05/0.01037, allocations: 81.11 kB / 446.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.0105, allocations: 0 / 446.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.01075, allocations: 98.64 kB / 446.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.29e-05/0.01081, allocations: 59.34 kB / 446.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.974e-06/0.01082, allocations: 0 / 446.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.01084, allocations: 12.48 kB / 446.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01084, allocations: 0 / 446.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of Templates: time 0.1743/0.1851, allocations: 3.937 MB / 450.6 MB, free: 21.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.686544734984636] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.1927180513739586 0.203680773 0.19471927400000003 Calling exit ...