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.001936/0.001936, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002038/0.002038, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3348/0.3348, allocations: 32.81 MB / 293.9 MB, free: 1.227 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 375.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.789e-05, allocations: 6.312 kB / 375.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002425/0.002463, allocations: 0.5039 MB / 375.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006181/0.008644, allocations: 2.098 MB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.008668, allocations: 0 / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.008685, allocations: 0 / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.008691, allocations: 0 / 377.8 MB, free: 2.418 MB / 346.7 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.00392/0.01261, allocations: 0.7556 MB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.01268, allocations: 3.984 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.01273, allocations: 8 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.01278, allocations: 4 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.0128, allocations: 0 / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.01281, allocations: 0 / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.01693, allocations: 1.548 MB / 380.2 MB, free: 96 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-06/0.01693, allocations: 0 / 380.2 MB, free: 96 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.01697, allocations: 7.984 kB / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.02094, allocations: 1.863 MB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.02094, allocations: 0 / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02094, allocations: 0 / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.02095, allocations: 0 / 382 MB, free: 14.22 MB / 362.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.001188/0.02214, allocations: 465.3 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.0222, allocations: 8.031 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.02226, allocations: 4.938 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.0224, allocations: 104.6 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.02242, allocations: 4.375 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.02244, allocations: 4.359 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.0226, allocations: 67.89 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.02261, allocations: 3.938 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.02263, allocations: 0 / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.02263, allocations: 0 / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.02269, allocations: 29.7 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.02289, allocations: 104.6 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.02301, allocations: 52.8 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.02309, allocations: 45.38 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.0231, allocations: 4 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.812e-05/0.02319, allocations: 63.09 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/0.02319, allocations: 7.938 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003491/0.02354, allocations: 114.8 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.02365, allocations: 85.09 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.02379, allocations: 146.2 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.02382, allocations: 25.7 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.02392, allocations: 126.9 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.02394, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.024, allocations: 19.38 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003572/0.02436, allocations: 492.1 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.0244, allocations: 25.7 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.02444, allocations: 37.77 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.02454, allocations: 67.08 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02454, allocations: 4 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001582/0.0247, allocations: 81.11 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.02476, allocations: 33.7 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02477, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.02479, allocations: 3.938 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-06/0.0248, allocations: 3.984 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.0248, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.02483, allocations: 8.047 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.02484, allocations: 8 kB / 384.2 MB, free: 11.71 MB / 362.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 0.0002063/0.02504, allocations: 182.2 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.02506, allocations: 4 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-06/0.02507, allocations: 3 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.02508, allocations: 3.938 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.02509, allocations: 0 / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.02509, allocations: 0 / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.02525, allocations: 112.6 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02525, allocations: 0 / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.02525, allocations: 4 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.02525, allocations: 0 / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.02526, allocations: 0 / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.02526, allocations: 0 / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.02527, allocations: 3.938 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.02551, allocations: 135.8 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.02551, allocations: 0 / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.02553, allocations: 3.938 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.49e-05/0.02555, allocations: 0 / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.02558, allocations: 7.938 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.02558, allocations: 3.938 kB / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.02569, allocations: 127.2 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02569, allocations: 0 / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00164/0.02733, allocations: 299.6 kB / 385.1 MB, free: 10.75 MB / 362.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.001562/0.02889, allocations: 0.5035 MB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.02905, allocations: 126.5 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02906, allocations: 0 / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.02912, allocations: 88.8 kB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.02924, allocations: 0 / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.02948, allocations: 129.7 kB / 385.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.02953, allocations: 51.36 kB / 386 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.02953, allocations: 0 / 386 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.02955, allocations: 16.44 kB / 386 MB, free: 9.75 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02955, allocations: 0 / 386 MB, free: 9.75 MB / 362.7 MB Notification: Performance of Templates: time 0.01652/0.04607, allocations: 7.516 MB / 393.5 MB, free: 2.223 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.150385578046553]