Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00144/0.00144, allocations: 75.75 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001459/0.001459, allocations: 168.7 kB / 24.99 MB, free: 9.25 MB / 18.57 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 0.9816/0.9816, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2788/0.2788, allocations: 34.25 MB / 296 MB, free: 0.7773 MB / 266.7 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.129e-05, allocations: 5.688 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001744/0.001776, allocations: 0.5047 MB / 378.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007439/0.009214, allocations: 4.676 MB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.009239, allocations: 4 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.009255, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.009262, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.004725/0.01399, allocations: 3.275 MB / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.01404, allocations: 3.984 kB / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.01408, allocations: 0 / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.01411, allocations: 4 kB / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.577e-05/0.01412, allocations: 0 / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.01413, allocations: 0 / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02623/0.04036, allocations: 19.8 MB / 406.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.04037, allocations: 0 / 406.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.0404, allocations: 7.984 kB / 406.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03427/0.07468, allocations: 30.71 MB / 437 MB, free: 7.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.07469, allocations: 4 kB / 437 MB, free: 7.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.07469, allocations: 0 / 437 MB, free: 7.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.0747, allocations: 0 / 437 MB, free: 7.906 MB / 410.7 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.007253/0.08195, allocations: 0.7017 MB / 437.7 MB, free: 7.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.08199, allocations: 8.031 kB / 437.7 MB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.08205, allocations: 9.219 kB / 437.7 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.687e-05/0.08211, allocations: 108.2 kB / 437.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.08212, allocations: 0 / 437.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.08213, allocations: 4 kB / 437.8 MB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.171e-05/0.08223, allocations: 55.41 kB / 437.9 MB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.08223, allocations: 4 kB / 437.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.08224, allocations: 0 / 437.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.08225, allocations: 0 / 437.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.08227, allocations: 33.69 kB / 437.9 MB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.226e-05/0.08236, allocations: 108.6 kB / 438 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.08241, allocations: 56.73 kB / 438.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.08243, allocations: 33.39 kB / 438.1 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.08243, allocations: 0 / 438.1 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.08247, allocations: 75.08 kB / 438.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.08248, allocations: 0 / 438.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001875/0.08266, allocations: 118.8 kB / 438.3 MB, free: 6.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.0827, allocations: 81.05 kB / 438.4 MB, free: 6.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.43e-05/0.08275, allocations: 142.2 kB / 438.5 MB, free: 6.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.08276, allocations: 25.7 kB / 438.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.08279, allocations: 138.9 kB / 438.7 MB, free: 5.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.08281, allocations: 0 / 438.7 MB, free: 5.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.08283, allocations: 15.38 kB / 438.7 MB, free: 5.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.08295, allocations: 496.1 kB / 439.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.08297, allocations: 25.7 kB / 439.2 MB, free: 5.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.08298, allocations: 25.7 kB / 439.2 MB, free: 5.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.08304, allocations: 71.28 kB / 439.3 MB, free: 5.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.08304, allocations: 3.938 kB / 439.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.819e-05/0.08311, allocations: 93.09 kB / 439.4 MB, free: 5.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.08314, allocations: 39.98 kB / 439.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.08315, allocations: 0 / 439.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.08316, allocations: 0 / 439.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.08316, allocations: 0 / 439.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.08317, allocations: 0 / 439.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.08318, allocations: 0 / 439.4 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-06/0.08319, allocations: 0 / 439.4 MB, free: 5.164 MB / 410.7 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 7.382e-05/0.08326, allocations: 194.2 kB / 439.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.08327, allocations: 0 / 439.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.037e-05/0.08328, allocations: 7 kB / 439.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.08328, allocations: 0 / 439.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.08328, allocations: 0 / 439.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.08329, allocations: 0 / 439.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.918e-05/0.08335, allocations: 108.6 kB / 439.7 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.08335, allocations: 3.938 kB / 439.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.08335, allocations: 7.984 kB / 439.7 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.08335, allocations: 3.984 kB / 439.7 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.08336, allocations: 0 / 439.7 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.08336, allocations: 4 kB / 439.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.08336, allocations: 0 / 439.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.671e-05/0.08345, allocations: 131.8 kB / 439.9 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-06/0.08346, allocations: 11.88 kB / 439.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.08347, allocations: 0 / 439.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-06/0.08348, allocations: 0 / 439.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.08349, allocations: 0 / 439.9 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.08349, allocations: 4 kB / 439.9 MB, free: 4.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.08352, allocations: 119.2 kB / 440 MB, free: 4.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08352, allocations: 0 / 440 MB, free: 4.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009905/0.09342, allocations: 3.791 MB / 443.8 MB, free: 0.7031 MB / 410.7 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.154/0.2474, allocations: 1.057 MB / 444.9 MB, free: 89.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2475, allocations: 125.2 kB / 445 MB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2475, allocations: 0.5625 kB / 445 MB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.2476, allocations: 92.58 kB / 445.1 MB, free: 89.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.2477, allocations: 12.11 kB / 445.1 MB, free: 89.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.2479, allocations: 114.8 kB / 445.2 MB, free: 89.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.596e-05/0.2479, allocations: 54.86 kB / 445.2 MB, free: 89.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.634e-06/0.2479, allocations: 0 / 445.2 MB, free: 89.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.2479, allocations: 11.38 kB / 445.3 MB, free: 89.42 MB / 410.7 MB Notification: Performance of SimCode: time 2.234e-06/0.2479, allocations: 3 kB / 445.3 MB, free: 89.42 MB / 410.7 MB Notification: Performance of Templates: time 0.1177/0.3657, allocations: 116.9 MB / 0.5489 GB, free: 96 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.927106517134234]