Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001822/0.001822, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002207/0.002207, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 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.283/0.283, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 59.91 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3192, allocations: 66.04 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001899/0.3211, allocations: 495.3 kB / 0.561 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.3245, allocations: 1.961 MB / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-06/0.3245, allocations: 0 / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.378e-06/0.3246, allocations: 0 / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.342e-06/0.3246, allocations: 0 / 0.563 GB, free: 1.812 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.001861/0.3264, allocations: 0.5569 MB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.721e-05/0.3264, allocations: 3.984 kB / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.3265, allocations: 0 / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.015e-05/0.3265, allocations: 3.938 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.066e-05/0.3265, allocations: 0 / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-06/0.3265, allocations: 0 / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.328, allocations: 0.8653 MB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.3281, allocations: 0 / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.3281, allocations: 0 / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3291, allocations: 0.7579 MB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3291, allocations: 4 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3291, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3291, allocations: 0 / 0.5651 GB, free: 15.62 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.0004034/0.3295, allocations: 309.6 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3296, allocations: 12.02 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.872e-05/0.3297, allocations: 114 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.3298, allocations: 76.22 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3299, allocations: 181.8 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.33, allocations: 150.9 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.3301, allocations: 150.9 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/0.3301, allocations: 105.1 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.3302, allocations: 79.28 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.3303, allocations: 150.6 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-05/0.3304, allocations: 158.5 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.3305, allocations: 154.5 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.3308, allocations: 417 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3309, allocations: 173.1 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.331, allocations: 80.14 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.331, allocations: 79.33 kB / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.911e-05/0.3311, allocations: 117.7 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3311, allocations: 0 / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.563e-05/0.3311, allocations: 25.7 kB / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3313, allocations: 156.4 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.3313, allocations: 89.86 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3313, allocations: 25.7 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3314, allocations: 84.08 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.3314, allocations: 7.984 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.3314, allocations: 13.72 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3316, allocations: 318.8 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-06/0.3316, allocations: 0 / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.3316, allocations: 25.7 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.3316, allocations: 75.28 kB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/0.3317, allocations: 75.28 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.816e-05/0.3317, allocations: 33.64 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.3318, allocations: 83.22 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.3318, allocations: 83.3 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.763e-05/0.3319, allocations: 158.5 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-05/0.332, allocations: 79.31 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-05/0.332, allocations: 158.5 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.3321, allocations: 83.22 kB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.3322, allocations: 75.28 kB / 0.5691 GB, free: 11.33 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.0001548/0.3323, allocations: 260.4 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.3324, allocations: 108.9 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.3324, allocations: 107.8 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.165e-05/0.3325, allocations: 188.2 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.418e-05/0.3326, allocations: 180.2 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-05/0.3327, allocations: 176.3 kB / 0.5701 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.333, allocations: 376.2 kB / 0.5704 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.87e-05/0.333, allocations: 113 kB / 0.5705 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.3331, allocations: 108.9 kB / 0.5706 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-05/0.3332, allocations: 184.2 kB / 0.5708 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/0.3332, allocations: 176.3 kB / 0.571 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.854e-05/0.3333, allocations: 184.2 kB / 0.5711 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.589e-05/0.3334, allocations: 176.3 kB / 0.5713 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3336, allocations: 307.8 kB / 0.5716 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.3336, allocations: 108.9 kB / 0.5717 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.625e-05/0.3337, allocations: 184.2 kB / 0.5719 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.3338, allocations: 105 kB / 0.572 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.3339, allocations: 188.2 kB / 0.5722 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.334, allocations: 101 kB / 0.5723 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.334, allocations: 75.28 kB / 0.5723 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.334, allocations: 3.938 kB / 0.5723 GB, free: 7.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006151/0.3346, allocations: 155.6 kB / 0.5725 GB, free: 7.637 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.00113/0.3358, allocations: 0.9794 MB / 0.5734 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.188e-05/0.3358, allocations: 0 / 0.5734 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3358, allocations: 0 / 0.5734 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.3358, allocations: 0 / 0.5734 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.3362, allocations: 463.7 kB / 0.5739 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.3366, allocations: 214.1 kB / 0.5741 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.3367, allocations: 59.3 kB / 0.5741 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.223e-06/0.3367, allocations: 4 kB / 0.5741 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.3367, allocations: 11.38 kB / 0.5742 GB, free: 5.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3367, allocations: 0 / 0.5742 GB, free: 5.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.3685, allocations: 4.84 MB / 0.5789 GB, free: 1.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 13.25 kB / 0.5789 GB, free: 1.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.704104081727564] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.017374063841999 12.042994485 11.7091202 Calling exit ...