Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002399/0.002399, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002842/0.002842, allocations: 165.3 kB / 24.27 MB, free: 156 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.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3606/0.3606, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.649e-05, allocations: 6.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001649/0.001676, allocations: 0.4966 MB / 377.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008778/0.01045, allocations: 4.647 MB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.01048, allocations: 0 / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.01049, allocations: 0 / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.0105, allocations: 0 / 382.4 MB, free: 13.81 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.009146/0.01964, allocations: 3.275 MB / 385.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.01969, allocations: 7.984 kB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.174e-05/0.01973, allocations: 0 / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.01976, allocations: 0 / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.602e-05/0.01977, allocations: 0 / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.01978, allocations: 7.938 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03463/0.05441, allocations: 19.8 MB / 405.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.05443, allocations: 0 / 405.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.05446, allocations: 4 kB / 405.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05225/0.1067, allocations: 30.71 MB / 436.2 MB, free: 7.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1067, allocations: 0 / 436.2 MB, free: 7.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1067, allocations: 0 / 436.2 MB, free: 7.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1067, allocations: 0 / 436.2 MB, free: 7.93 MB / 410.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.007224/0.1139, allocations: 0.6978 MB / 436.9 MB, free: 7.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.114, allocations: 12.03 kB / 436.9 MB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.114, allocations: 8.875 kB / 436.9 MB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1141, allocations: 108.2 kB / 437 MB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1142, allocations: 3.984 kB / 437 MB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1142, allocations: 4 kB / 437 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1143, allocations: 55.41 kB / 437.1 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1143, allocations: 0 / 437.1 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1143, allocations: 4 kB / 437.1 MB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1143, allocations: 0 / 437.1 MB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.1143, allocations: 25.7 kB / 437.1 MB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.1145, allocations: 116.6 kB / 437.2 MB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.1146, allocations: 60.69 kB / 437.3 MB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.1146, allocations: 37.48 kB / 437.3 MB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.1146, allocations: 4 kB / 437.3 MB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.265e-05/0.1147, allocations: 63.09 kB / 437.4 MB, free: 6.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1147, allocations: 0 / 437.4 MB, free: 6.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002374/0.1149, allocations: 118.8 kB / 437.5 MB, free: 6.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.115, allocations: 81.05 kB / 437.6 MB, free: 6.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.1151, allocations: 146.2 kB / 437.7 MB, free: 6.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1151, allocations: 25.7 kB / 437.8 MB, free: 6.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1152, allocations: 126.9 kB / 437.9 MB, free: 6.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1152, allocations: 16 kB / 437.9 MB, free: 6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1153, allocations: 19.38 kB / 437.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.1155, allocations: 492.1 kB / 438.4 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.1155, allocations: 29.7 kB / 438.4 MB, free: 5.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.1156, allocations: 29.69 kB / 438.5 MB, free: 5.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.1156, allocations: 71.03 kB / 438.5 MB, free: 5.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1157, allocations: 3.938 kB / 438.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.998e-05/0.1158, allocations: 89.05 kB / 438.6 MB, free: 5.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.1158, allocations: 33.69 kB / 438.7 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1158, allocations: 4.094 kB / 438.7 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1158, allocations: 4 kB / 438.7 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1158, allocations: 0 / 438.7 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1158, allocations: 0 / 438.7 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.395e-05/0.1158, allocations: 0 / 438.7 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1158, allocations: 0 / 438.7 MB, free: 5.168 MB / 410.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.0001331/0.116, allocations: 190.2 kB / 438.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.116, allocations: 0 / 438.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-06/0.116, allocations: 3 kB / 438.9 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.116, allocations: 0 / 438.9 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.116, allocations: 11.98 kB / 438.9 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.116, allocations: 0 / 438.9 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1161, allocations: 104.6 kB / 439 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1161, allocations: 3.938 kB / 439 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1161, allocations: 0 / 439 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1161, allocations: 0 / 439 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1161, allocations: 4 kB / 439 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1161, allocations: 0 / 439 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1161, allocations: 0 / 439 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1163, allocations: 131.8 kB / 439.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.1163, allocations: 3.938 kB / 439.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1163, allocations: 8.031 kB / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.1163, allocations: 0 / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1163, allocations: 0 / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1163, allocations: 3.984 kB / 439.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.1164, allocations: 123.2 kB / 439.2 MB, free: 4.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1164, allocations: 0 / 439.2 MB, free: 4.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01132/0.1277, allocations: 3.78 MB / 443 MB, free: 0.7266 MB / 410.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.1654/0.2931, allocations: 1.067 MB / 444.1 MB, free: 89.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.2932, allocations: 121.4 kB / 444.2 MB, free: 89.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2932, allocations: 2.594 kB / 444.2 MB, free: 89.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.2932, allocations: 95.47 kB / 444.3 MB, free: 89.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2934, allocations: 9.344 kB / 444.3 MB, free: 89.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.2936, allocations: 112.2 kB / 444.4 MB, free: 89.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.2936, allocations: 59.31 kB / 444.5 MB, free: 89.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.09e-06/0.2936, allocations: 0 / 444.5 MB, free: 89.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.2937, allocations: 11.16 kB / 444.5 MB, free: 89.26 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2937, allocations: 0 / 444.5 MB, free: 89.26 MB / 410.7 MB Notification: Performance of Templates: time 0.1396/0.4332, allocations: 116.9 MB / 0.5482 GB, free: 15.94 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 12.81825322995428]