Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001255/0.001255, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.001432/0.001432, allocations: 210 kB / 24.51 MB, free: 3.941 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.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.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.2107/0.2107, allocations: 46.95 MB / 361.6 MB, free: 3.941 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 75.88 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2961, allocations: 66.08 MB / 0.5614 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001606/0.2977, allocations: 0.4892 MB / 0.5619 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.3007, allocations: 1.952 MB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-06/0.3007, allocations: 0 / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-06/0.3007, allocations: 0 / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.563e-06/0.3007, allocations: 0 / 0.5638 GB, free: 1.484 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3025, allocations: 0.5603 MB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.448e-05/0.3025, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.734e-05/0.3025, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.117e-06/0.3025, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-06/0.3025, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-06/0.3025, allocations: 0 / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.304, allocations: 0.881 MB / 0.5652 GB, free: 44 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.304, allocations: 0 / 0.5652 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.304, allocations: 0 / 0.5652 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3051, allocations: 0.7696 MB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3051, allocations: 4 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3051, allocations: 0 / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.3051, allocations: 0 / 0.566 GB, free: 15.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004132/0.3056, allocations: 301.6 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3056, allocations: 12.03 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.616e-05/0.3056, allocations: 83.41 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.3057, allocations: 106 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.3058, allocations: 80.22 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3059, allocations: 185.8 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.3059, allocations: 150.9 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.306, allocations: 150.9 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.88e-05/0.3061, allocations: 108.9 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.3061, allocations: 75.28 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.3062, allocations: 150.6 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.41e-05/0.3062, allocations: 150.6 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.3063, allocations: 154.5 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.3066, allocations: 425 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3067, allocations: 165.1 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.3068, allocations: 84.14 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.3068, allocations: 79.27 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.3069, allocations: 117.8 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3069, allocations: 0 / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.887e-05/0.307, allocations: 25.7 kB / 0.5685 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.3071, allocations: 156.4 kB / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.3071, allocations: 89.86 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3071, allocations: 25.7 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.3072, allocations: 88.08 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.3072, allocations: 0 / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.3072, allocations: 17.7 kB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3074, allocations: 310.8 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.3074, allocations: 0 / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.3074, allocations: 25.7 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.3075, allocations: 79.22 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.026e-05/0.3075, allocations: 83.28 kB / 0.5693 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.821e-05/0.3076, allocations: 33.58 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.3076, allocations: 79.28 kB / 0.5694 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.3076, allocations: 83.36 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.296e-05/0.3077, allocations: 158.5 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.789e-05/0.3078, allocations: 79.27 kB / 0.5697 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.612e-05/0.3079, allocations: 158.5 kB / 0.5699 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.3079, allocations: 75.28 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.308, allocations: 75.28 kB / 0.57 GB, free: 10.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001591/0.3081, allocations: 264.4 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.3082, allocations: 108.9 kB / 0.5704 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.3083, allocations: 115.8 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-05/0.3084, allocations: 180.2 kB / 0.5706 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.815e-05/0.3084, allocations: 176.3 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.478e-05/0.3085, allocations: 192.2 kB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.3088, allocations: 372.2 kB / 0.5713 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/0.3088, allocations: 105 kB / 0.5714 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.3089, allocations: 112.9 kB / 0.5715 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-05/0.3089, allocations: 176.3 kB / 0.5717 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/0.309, allocations: 180.3 kB / 0.5719 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-05/0.3091, allocations: 192.2 kB / 0.5721 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.155e-05/0.3092, allocations: 176.3 kB / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.3093, allocations: 303.8 kB / 0.5725 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3094, allocations: 112.9 kB / 0.5726 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.3095, allocations: 188.2 kB / 0.5728 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.3096, allocations: 105 kB / 0.5729 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.3097, allocations: 180.2 kB / 0.5731 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.3097, allocations: 101 kB / 0.5732 GB, free: 7.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.3098, allocations: 75.28 kB / 0.5733 GB, free: 7.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3098, allocations: 0 / 0.5733 GB, free: 7.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.3104, allocations: 155.6 kB / 0.5734 GB, free: 7.219 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001138/0.3115, allocations: 0.9796 MB / 0.5744 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.951e-05/0.3116, allocations: 4 kB / 0.5744 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3116, allocations: 0 / 0.5744 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3116, allocations: 0 / 0.5744 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3119, allocations: 463.7 kB / 0.5748 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.3124, allocations: 222.1 kB / 0.575 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.3124, allocations: 55.3 kB / 0.5751 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.157e-06/0.3124, allocations: 3.984 kB / 0.5751 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.3125, allocations: 11.44 kB / 0.5751 GB, free: 5.41 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3125, allocations: 0 / 0.5751 GB, free: 5.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.336, allocations: 4.491 MB / 0.5795 GB, free: 1.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.02, allocations: 15.12 kB / 0.5795 GB, free: 1.016 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.691596125019714] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.186528190039098 11.214827209 10.904740925 Calling exit ...