Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.001723/0.001723, allocations: 123.9 kB / 18.46 MB, free: 4.461 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.002072/0.002073, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.7 MB, free: 240 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.2257/0.2257, allocations: 46.18 MB / 351.1 MB, free: 14.28 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.002251, allocations: 81.39 kB / 490.2 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1213, allocations: 62.45 MB / 0.5397 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001558/0.1229, allocations: 497 kB / 0.5401 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1251, allocations: 1.565 MB / 0.5417 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1251, allocations: 0 / 0.5417 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.1252, allocations: 0 / 0.5417 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.652e-06/0.1252, allocations: 3.938 kB / 0.5417 GB, free: 2.289 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008253/0.126, allocations: 226.3 kB / 0.5419 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.1261, allocations: 8 kB / 0.5419 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.1261, allocations: 0 / 0.5419 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.1261, allocations: 0 / 0.5419 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.451e-05/0.1261, allocations: 0 / 0.5419 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-06/0.1262, allocations: 0 / 0.5419 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009754/0.1271, allocations: 0.7103 MB / 0.5426 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-06/0.1271, allocations: 0 / 0.5426 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.1272, allocations: 3.984 kB / 0.5426 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.1279, allocations: 0.6472 MB / 0.5432 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1279, allocations: 0 / 0.5432 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.128, allocations: 0 / 0.5432 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.128, allocations: 0 / 0.5432 GB, free: 0.6992 MB / 398.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.0004853/0.1285, allocations: 377 kB / 0.5436 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1285, allocations: 8.031 kB / 0.5436 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1285, allocations: 0.9375 kB / 0.5436 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1287, allocations: 164.4 kB / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1287, allocations: 384 / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1287, allocations: 4.375 kB / 0.5438 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.1288, allocations: 34.02 kB / 0.5438 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1288, allocations: 3.938 kB / 0.5438 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1288, allocations: 0 / 0.5438 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1288, allocations: 0 / 0.5438 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.1288, allocations: 11.92 kB / 0.5438 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.129, allocations: 141.7 kB / 0.5439 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.1291, allocations: 18.61 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.1291, allocations: 8.859 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.1291, allocations: 0 / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.1292, allocations: 68.27 kB / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1292, allocations: 0 / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.1293, allocations: 67.33 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1294, allocations: 77.11 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.1295, allocations: 93.81 kB / 0.5443 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1295, allocations: 29.83 kB / 0.5443 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.1295, allocations: 80.14 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1295, allocations: 0 / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1296, allocations: 17.72 kB / 0.5444 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1297, allocations: 314.8 kB / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.1297, allocations: 0 / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-06/0.1297, allocations: 0 / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.575e-05/0.1298, allocations: 60.27 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1298, allocations: 4.062 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.217e-05/0.1299, allocations: 71.34 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.1299, allocations: 37.62 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1299, allocations: 3.938 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.13, allocations: 4 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.13, allocations: 0 / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.13, allocations: 0 / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.13, allocations: 0 / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.13, allocations: 0 / 0.5448 GB, free: 14.76 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 9.589e-05/0.1301, allocations: 139.6 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.1301, allocations: 3.938 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-06/0.1301, allocations: 3.125 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1301, allocations: 7.969 kB / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1301, allocations: 0 / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1302, allocations: 0 / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1303, allocations: 145.7 kB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1303, allocations: 0 / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1303, allocations: 0 / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1303, allocations: 3.938 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1303, allocations: 4 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1303, allocations: 0 / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.1303, allocations: 7.938 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.953e-05/0.1304, allocations: 90.77 kB / 0.5452 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1305, allocations: 81.11 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1305, allocations: 11.92 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.1305, allocations: 0 / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1305, allocations: 4.031 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1305, allocations: 0 / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.1306, allocations: 75.28 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1306, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.131, allocations: 119.8 kB / 0.5455 GB, free: 13.97 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.0006974/0.1317, allocations: 181.5 kB / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1318, allocations: 63.34 kB / 0.5457 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1318, allocations: 3.938 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.1318, allocations: 55.41 kB / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.132, allocations: 1.719 kB / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.1322, allocations: 89.17 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1325, allocations: 0.669 MB / 0.5465 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.1325, allocations: 0 / 0.5465 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.1325, allocations: 11.44 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.1325, allocations: 0 / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.007441/0.1399, allocations: 3.924 MB / 0.5504 GB, free: 8.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.955145655199885]