Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 116.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 209 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 251.6 MB, free: 112 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.17 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 76.81 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.122, allocations: 62.46 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001687/0.1237, allocations: 497.5 kB / 0.5401 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.1269, allocations: 2.134 MB / 0.5422 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.1269, allocations: 4 kB / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.127, allocations: 0 / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.802e-06/0.127, allocations: 0 / 0.5422 GB, free: 1.629 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001982/0.129, allocations: 0.7283 MB / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.129, allocations: 7.938 kB / 0.5429 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1291, allocations: 0 / 0.5429 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1291, allocations: 0 / 0.5429 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.934e-05/0.1291, allocations: 4 kB / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.1291, allocations: 0 / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.1313, allocations: 1.51 MB / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.1314, allocations: 0 / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.1314, allocations: 0 / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1331, allocations: 1.559 MB / 0.5459 GB, free: 13.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1331, allocations: 0 / 0.5459 GB, free: 13.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1331, allocations: 0 / 0.5459 GB, free: 13.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1332, allocations: 0 / 0.5459 GB, free: 13.82 MB / 414.1 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.0006735/0.1338, allocations: 431.4 kB / 0.5464 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1339, allocations: 12.03 kB / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1339, allocations: 0.9375 kB / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1341, allocations: 160.4 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1341, allocations: 384 / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1341, allocations: 384 / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1342, allocations: 38 kB / 0.5466 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1342, allocations: 0 / 0.5466 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1342, allocations: 0 / 0.5466 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1342, allocations: 0 / 0.5466 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.1343, allocations: 11.94 kB / 0.5466 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1344, allocations: 145.7 kB / 0.5467 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.302e-05/0.1345, allocations: 14.58 kB / 0.5467 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.1345, allocations: 16.94 kB / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.1345, allocations: 0 / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.1346, allocations: 60.2 kB / 0.5468 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 6.151e-06/0.1346, allocations: 7.938 kB / 0.5468 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001847/0.1348, allocations: 71.3 kB / 0.5469 GB, free: 12.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.1349, allocations: 77.11 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.1349, allocations: 97.78 kB / 0.547 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1349, allocations: 25.7 kB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.135, allocations: 84.14 kB / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.135, allocations: 0 / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.135, allocations: 9.719 kB / 0.5472 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1352, allocations: 319 kB / 0.5475 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1352, allocations: 4 kB / 0.5475 GB, free: 12.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.1352, allocations: 0 / 0.5475 GB, free: 12.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.1353, allocations: 60.27 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1353, allocations: 3.938 kB / 0.5475 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.372e-05/0.1354, allocations: 59.39 kB / 0.5476 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.1354, allocations: 37.64 kB / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1354, allocations: 0 / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1354, allocations: 96 / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1355, allocations: 4 kB / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1355, allocations: 0 / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.1355, allocations: 0 / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1355, allocations: 4 kB / 0.5476 GB, free: 11.83 MB / 414.1 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.0001077/0.1356, allocations: 139.5 kB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1356, allocations: 3.938 kB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-06/0.1356, allocations: 7.125 kB / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1357, allocations: 0 / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1357, allocations: 0 / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1357, allocations: 4 kB / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.1358, allocations: 145.7 kB / 0.5479 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1358, allocations: 7.984 kB / 0.5479 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1358, allocations: 0 / 0.5479 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1358, allocations: 7.938 kB / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1358, allocations: 0 / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1358, allocations: 3.984 kB / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1358, allocations: 3.938 kB / 0.5479 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.136, allocations: 94.83 kB / 0.548 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.1361, allocations: 77.11 kB / 0.5481 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1361, allocations: 7.875 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.1361, allocations: 3.984 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.1361, allocations: 0 / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1362, allocations: 4 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.1362, allocations: 75.28 kB / 0.5482 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1362, allocations: 0 / 0.5482 GB, free: 11.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008853/0.1371, allocations: 279.6 kB / 0.5485 GB, free: 10.88 MB / 414.1 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.001384/0.1385, allocations: 408.2 kB / 0.5488 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1386, allocations: 59.34 kB / 0.5489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1386, allocations: 0 / 0.5489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.1387, allocations: 55.41 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.1388, allocations: 5.875 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.139, allocations: 84.98 kB / 0.549 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1393, allocations: 0.6691 MB / 0.5497 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.522e-06/0.1393, allocations: 4 kB / 0.5497 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.1393, allocations: 11.44 kB / 0.5497 GB, free: 9.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1393, allocations: 0 / 0.5497 GB, free: 9.52 MB / 414.1 MB Notification: Performance of Templates: time 0.01392/0.1533, allocations: 7.305 MB / 0.5568 GB, free: 2.203 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.147059242241085]