Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009457/0.0009457, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001314/0.001314, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9267/0.9267, allocations: 177.1 MB / 206 MB, free: 4.523 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.1325/0.1325, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.42e-05, allocations: 2.312 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001253/0.001267, allocations: 0.4893 MB / 377.7 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.01415, allocations: 4.603 MB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.01418, allocations: 0 / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.0142, allocations: 0 / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-06/0.0142, allocations: 0 / 382.3 MB, free: 20.49 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.01301/0.02721, allocations: 3.275 MB / 385.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.02726, allocations: 7.984 kB / 385.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.0273, allocations: 3.938 kB / 385.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.02733, allocations: 4 kB / 385.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.02735, allocations: 4 kB / 385.6 MB, free: 17.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.02735, allocations: 0 / 385.6 MB, free: 17.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03332/0.06067, allocations: 19.81 MB / 405.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.06069, allocations: 0 / 405.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.06071, allocations: 7.938 kB / 405.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0346/0.09531, allocations: 30.74 MB / 436.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.09532, allocations: 0 / 436.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09532, allocations: 0 / 436.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.09532, allocations: 3.938 kB / 436.2 MB, free: 14.55 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.007003/0.1023, allocations: 0.6978 MB / 436.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1024, allocations: 23.97 kB / 436.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1024, allocations: 4.938 kB / 436.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.179e-05/0.1025, allocations: 108.2 kB / 437 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1025, allocations: 4 kB / 437 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1025, allocations: 0 / 437 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.1026, allocations: 51.41 kB / 437.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1026, allocations: 7.938 kB / 437.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.1026, allocations: 0 / 437.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1026, allocations: 0 / 437.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.1026, allocations: 25.7 kB / 437.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.71e-05/0.1027, allocations: 101.2 kB / 437.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.1027, allocations: 52.7 kB / 437.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.1027, allocations: 37.48 kB / 437.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-06/0.1027, allocations: 0 / 437.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1027, allocations: 63.09 kB / 437.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1027, allocations: 0 / 437.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.1029, allocations: 118.7 kB / 437.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1029, allocations: 81.11 kB / 437.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.103, allocations: 142.2 kB / 437.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.103, allocations: 25.83 kB / 437.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.103, allocations: 130.9 kB / 437.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.103, allocations: 8.234 kB / 437.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.103, allocations: 19.38 kB / 437.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1031, allocations: 496.1 kB / 438.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.1032, allocations: 29.7 kB / 438.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.1032, allocations: 29.7 kB / 438.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.1032, allocations: 71.02 kB / 438.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1032, allocations: 0 / 438.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.848e-05/0.1033, allocations: 89.12 kB / 438.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.1033, allocations: 39.73 kB / 438.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1033, allocations: 0 / 438.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.1033, allocations: 0 / 438.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1033, allocations: 0 / 438.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.1033, allocations: 3.984 kB / 438.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.1033, allocations: 0 / 438.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.1033, allocations: 4 kB / 438.6 MB, free: 11.82 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.469e-05/0.1034, allocations: 178.3 kB / 438.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.1034, allocations: 7.938 kB / 438.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.039e-05/0.1034, allocations: 10.98 kB / 438.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1034, allocations: 4 kB / 438.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1034, allocations: 0 / 438.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1034, allocations: 0 / 438.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.147e-05/0.1035, allocations: 97.2 kB / 438.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1035, allocations: 3.938 kB / 438.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-07/0.1035, allocations: 0 / 438.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.1035, allocations: 0 / 438.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1035, allocations: 3.938 kB / 438.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1035, allocations: 0 / 438.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1035, allocations: 4 kB / 438.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/0.1036, allocations: 131.8 kB / 439.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.1036, allocations: 0 / 439.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.1036, allocations: 3.938 kB / 439.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-06/0.1036, allocations: 0 / 439.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.1036, allocations: 7.984 kB / 439.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1036, allocations: 4 kB / 439.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.1036, allocations: 119.2 kB / 439.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1036, allocations: 0 / 439.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009531/0.1132, allocations: 3.787 MB / 443 MB, free: 7.395 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.01699/0.1302, allocations: 1.081 MB / 444.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1303, allocations: 122.5 kB / 444.2 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1303, allocations: 0 / 444.2 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.1303, allocations: 84.8 kB / 444.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.083e-05/0.1304, allocations: 4 kB / 444.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.1306, allocations: 122.8 kB / 444.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.1306, allocations: 59.16 kB / 444.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.1306, allocations: 0 / 444.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.1307, allocations: 74.33 kB / 444.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1307, allocations: 4 kB / 444.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of Templates: time 0.2829/0.4136, allocations: 124.9 MB / 0.5561 GB, free: 18.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 184.19072871794924]