Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001422/0.001422, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001999/0.001999, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2566/0.2566, allocations: 34.26 MB / 296 MB, free: 0.6758 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.897e-05, allocations: 2.312 kB / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001333/0.001362, allocations: 0.5008 MB / 378.5 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.003156, allocations: 1.565 MB / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.003187, allocations: 0 / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.003208, allocations: 0 / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-05/0.003218, allocations: 0 / 380.1 MB, free: 0.9062 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0008969/0.004115, allocations: 251.2 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.00417, allocations: 4 kB / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.004208, allocations: 0 / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.004239, allocations: 11.92 kB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.004257, allocations: 0 / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.004264, allocations: 0 / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007444/0.005008, allocations: 0.6791 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.005019, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.005047, allocations: 4 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.005685, allocations: 0.7563 MB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.005688, allocations: 0 / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00569, allocations: 0 / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005694, allocations: 0 / 381.8 MB, free: 15.2 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.0003736/0.006068, allocations: 389.9 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.006106, allocations: 8.031 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.006145, allocations: 4.938 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.253e-05/0.006208, allocations: 108.6 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.00622, allocations: 384 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.006231, allocations: 384 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.006325, allocations: 59.97 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.006331, allocations: 192 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.00634, allocations: 384 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.006349, allocations: 3.938 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.006368, allocations: 33.64 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.909e-05/0.006457, allocations: 108.6 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.006505, allocations: 60.78 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.006527, allocations: 33.39 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-06/0.006532, allocations: 0 / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.00657, allocations: 63.16 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.006571, allocations: 4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000175/0.006746, allocations: 122.7 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.006784, allocations: 81.05 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.316e-05/0.006827, allocations: 142.2 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.006836, allocations: 25.7 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.00687, allocations: 130.9 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.006886, allocations: 352 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.006912, allocations: 15.38 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.007026, allocations: 0.4883 MB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.007052, allocations: 29.69 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.007068, allocations: 33.83 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.007114, allocations: 63.09 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007117, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.056e-05/0.007187, allocations: 93 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.007218, allocations: 33.69 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007222, allocations: 4 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.007236, allocations: 0 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.007237, allocations: 0 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.007245, allocations: 3.938 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.007261, allocations: 96 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.007267, allocations: 4 kB / 383.9 MB, free: 12.79 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 7.575e-05/0.007343, allocations: 190.2 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-06/0.007348, allocations: 0 / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.00736, allocations: 10.97 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.007361, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007365, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.007369, allocations: 3.938 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.244e-05/0.007432, allocations: 108.6 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.007432, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.007433, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.007434, allocations: 8 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.007443, allocations: 3.984 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007444, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007445, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/0.007544, allocations: 135.7 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-06/0.007549, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.007563, allocations: 4 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.007569, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.007582, allocations: 3.984 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.007584, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.194e-05/0.007616, allocations: 127.2 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007616, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.007962, allocations: 119.9 kB / 384.6 MB, free: 11.99 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.0005975/0.008559, allocations: 187.9 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.00868, allocations: 126.4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.008683, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.008715, allocations: 92.78 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.57e-05/0.008811, allocations: 2.031 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.009015, allocations: 109.7 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.075e-05/0.009056, allocations: 55.36 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.832e-06/0.009063, allocations: 0 / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.009078, allocations: 12.62 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.00908, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of Templates: time 0.005648/0.01473, allocations: 4.063 MB / 389.2 MB, free: 7.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.1309273061342537]