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.001144/0.001144, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001186/0.001186, allocations: 168.7 kB / 24.99 MB, free: 8.793 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.9928/0.9928, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2599/0.2599, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.344e-06/2.344e-06, allocations: 0 / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.127e-05, allocations: 2.312 kB / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00197/0.002001, allocations: 0.4969 MB / 376.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.005364, allocations: 2.118 MB / 378.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.005395, allocations: 4 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.005412, allocations: 0 / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.005418, allocations: 0 / 378.6 MB, free: 2.367 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.001549/0.006968, allocations: 0.7556 MB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.00702, allocations: 4 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.007056, allocations: 0 / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.007082, allocations: 3.938 kB / 379.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.823e-05/0.0071, allocations: 3.984 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.007108, allocations: 8 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.008767, allocations: 1.552 MB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.008778, allocations: 0 / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.008802, allocations: 0 / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.01039, allocations: 1.863 MB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01039, allocations: 0 / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01039, allocations: 0 / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.0104, allocations: 4 kB / 382.8 MB, free: 14.16 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.0005684/0.01097, allocations: 469.2 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01101, allocations: 8.031 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.01105, allocations: 0.9375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.752e-05/0.01112, allocations: 108.6 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.01113, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.01114, allocations: 4.312 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.01124, allocations: 59.95 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.01125, allocations: 3.938 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.01126, allocations: 0 / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01127, allocations: 4 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.01129, allocations: 29.7 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.0114, allocations: 108.6 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.01145, allocations: 52.8 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.01147, allocations: 41.31 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-06/0.01147, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.01151, allocations: 67.16 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.01152, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.01169, allocations: 122.7 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.01174, allocations: 77.23 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.0118, allocations: 146.2 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.01181, allocations: 25.7 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.01184, allocations: 126.9 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.01186, allocations: 12.23 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.01189, allocations: 15.38 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01199, allocations: 496.1 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.01201, allocations: 33.64 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.01203, allocations: 25.7 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.01207, allocations: 67.08 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01207, allocations: 4.062 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.01213, allocations: 89.11 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.01216, allocations: 29.7 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01217, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01218, allocations: 7.922 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.01218, allocations: 4 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.01219, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.0122, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.0122, allocations: 0 / 385 MB, free: 11.67 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 6.704e-05/0.01227, allocations: 186.2 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.01228, allocations: 4.031 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-06/0.01229, allocations: 3 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01229, allocations: 3.938 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01229, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.0123, allocations: 4 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.234e-05/0.01235, allocations: 108.6 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.01235, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.01235, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.01235, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.01236, allocations: 4 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.01236, allocations: 0 / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01236, allocations: 7.938 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.01244, allocations: 127.8 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.01245, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.01246, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-06/0.01247, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.01248, allocations: 11.86 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.01249, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.882e-05/0.01251, allocations: 123.2 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 0 / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006163/0.01313, allocations: 299.5 kB / 385.9 MB, free: 10.71 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.001007/0.01414, allocations: 0.5185 MB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01424, allocations: 122.5 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01425, allocations: 0 / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.01428, allocations: 88.8 kB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.528e-05/0.01437, allocations: 7.984 kB / 386.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.01456, allocations: 117.6 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.01459, allocations: 55.3 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.0146, allocations: 0 / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.01461, allocations: 12.62 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01461, allocations: 0 / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of Templates: time 0.009973/0.02459, allocations: 7.526 MB / 394.3 MB, free: 2.168 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: 3.291611935943365]