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.001021/0.001021, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001097/0.001097, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9554/0.9554, allocations: 177.1 MB / 205 MB, free: 5.277 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.3155/0.3155, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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.212e-06/1.212e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.688e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001135/0.001152, allocations: 0.5047 MB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004922/0.006074, allocations: 1.561 MB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.006092, allocations: 4 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.006112, allocations: 0 / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-06/0.006118, allocations: 0 / 380.1 MB, free: 0.5938 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.000776/0.006894, allocations: 259.2 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.006934, allocations: 0 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.006965, allocations: 0 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.292e-05/0.006988, allocations: 0 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.623e-05/0.007004, allocations: 4 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.007011, allocations: 0 / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.01084, allocations: 0.6907 MB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.01085, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.01086, allocations: 4 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.01157, allocations: 0.7447 MB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01157, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01157, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.01157, allocations: 4 kB / 381.8 MB, free: 14.89 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.000337/0.01191, allocations: 389.8 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.01195, allocations: 12.03 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.01198, allocations: 0.9375 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.457e-05/0.01203, allocations: 104.6 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.01204, allocations: 8.375 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.01205, allocations: 384 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.01213, allocations: 59.95 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.01214, allocations: 192 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.01215, allocations: 384 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01216, allocations: 3.938 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.01218, allocations: 37.62 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.01527, allocations: 112.6 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.01532, allocations: 48.77 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.01534, allocations: 41.47 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-06/0.01534, allocations: 4 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.01537, allocations: 59.09 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.01537, allocations: 0 / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000146/0.01552, allocations: 122.7 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.01556, allocations: 85.05 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.262e-05/0.0156, allocations: 142.2 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.01561, allocations: 25.7 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.01563, allocations: 126.9 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.01565, allocations: 352 / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.01567, allocations: 23.5 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01578, allocations: 496.1 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.0158, allocations: 25.7 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.01581, allocations: 29.7 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.01585, allocations: 71.02 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01586, allocations: 0 / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.901e-05/0.01591, allocations: 89.06 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.01594, allocations: 33.7 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01594, allocations: 0 / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01596, allocations: 3.984 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-06/0.01596, allocations: 4.094 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.01597, allocations: 3.938 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.01598, allocations: 7.938 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.01598, allocations: 0 / 383.9 MB, free: 12.46 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.345e-05/0.01605, allocations: 178.3 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.01605, allocations: 4 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.167e-06/0.01606, allocations: 3 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.01606, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01607, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01607, allocations: 7.938 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.786e-05/0.01613, allocations: 116.6 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.01613, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.01613, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.01613, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.01613, allocations: 3.938 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01614, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01614, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.01622, allocations: 135.8 kB / 384.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.01622, allocations: 3.938 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.01623, allocations: 0 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-06/0.01624, allocations: 32 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.01625, allocations: 8 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.01625, allocations: 4 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.01628, allocations: 123.1 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01628, allocations: 0 / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.01661, allocations: 119.9 kB / 384.6 MB, free: 11.68 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.003545/0.02015, allocations: 192 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.02026, allocations: 122.4 kB / 384.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02026, allocations: 0 / 384.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.02029, allocations: 88.8 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.02041, allocations: 4 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000161/0.02057, allocations: 117.6 kB / 385.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.0206, allocations: 59.42 kB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.0206, allocations: 0 / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.173e-05/0.02062, allocations: 8.5 kB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02062, allocations: 0 / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of Templates: time 0.008692/0.02931, allocations: 4.065 MB / 389.2 MB, free: 6.918 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.237909325864166]