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.00127/0.00127, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001379/0.001379, allocations: 207.5 kB / 23.72 MB, free: 4.379 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2238/0.2238, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.001975/0.001975, allocations: 64.08 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001619/0.3317, allocations: 0.4883 MB / 0.561 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.3347, allocations: 1.956 MB / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-06/0.3347, allocations: 0 / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.928e-06/0.3348, allocations: 0 / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.423e-06/0.3348, allocations: 4 kB / 0.563 GB, free: 1.77 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.001707/0.3365, allocations: 0.5645 MB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.178e-05/0.3365, allocations: 0 / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.592e-05/0.3365, allocations: 0 / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-06/0.3365, allocations: 4 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-06/0.3365, allocations: 4 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-06/0.3365, allocations: 0 / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.3379, allocations: 0.8731 MB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-06/0.3379, allocations: 0 / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.282e-05/0.3379, allocations: 0 / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009755/0.3389, allocations: 0.7695 MB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3389, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3389, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3389, allocations: 0 / 0.5651 GB, free: 15.55 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.0003676/0.3393, allocations: 309.7 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3393, allocations: 8.031 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.989e-05/0.3394, allocations: 110 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.3394, allocations: 80.22 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3396, allocations: 181.8 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.3396, allocations: 150.9 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.3397, allocations: 150.9 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.3398, allocations: 109.1 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.3398, allocations: 75.28 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.3399, allocations: 150.6 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/0.3399, allocations: 154.6 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.34, allocations: 162.5 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3403, allocations: 409 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3404, allocations: 173.1 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.3405, allocations: 80.14 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.3405, allocations: 79.27 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.123e-05/0.3406, allocations: 121.7 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3406, allocations: 3.938 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.881e-05/0.3406, allocations: 29.7 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/0.3407, allocations: 152.4 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.402e-05/0.3408, allocations: 89.86 kB / 0.5678 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3408, allocations: 29.7 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.3408, allocations: 80.14 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.3408, allocations: 0 / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3409, allocations: 13.72 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.341, allocations: 314.8 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.341, allocations: 0 / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.341, allocations: 25.7 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.3411, allocations: 79.28 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-05/0.3411, allocations: 75.28 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.716e-05/0.3412, allocations: 33.62 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.3412, allocations: 87.25 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.3412, allocations: 79.36 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.42e-05/0.3413, allocations: 158.5 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.3414, allocations: 79.28 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.259e-05/0.3414, allocations: 150.6 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.3415, allocations: 83.22 kB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3416, allocations: 79.27 kB / 0.5691 GB, free: 11.27 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.000147/0.3417, allocations: 260.4 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3418, allocations: 108.9 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.3418, allocations: 111.8 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/0.3419, allocations: 180.3 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-05/0.342, allocations: 188.2 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.049e-05/0.3421, allocations: 180.3 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3423, allocations: 372.2 kB / 0.5704 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.941e-05/0.3424, allocations: 109 kB / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.3424, allocations: 105 kB / 0.5706 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.3425, allocations: 188.1 kB / 0.5708 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.3426, allocations: 180.3 kB / 0.571 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-05/0.3427, allocations: 180.2 kB / 0.5712 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.912e-05/0.3428, allocations: 176.3 kB / 0.5713 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3429, allocations: 315.7 kB / 0.5716 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.343, allocations: 112.9 kB / 0.5717 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.3431, allocations: 180.2 kB / 0.5719 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.3432, allocations: 105 kB / 0.572 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.3432, allocations: 188.2 kB / 0.5722 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.3433, allocations: 101 kB / 0.5723 GB, free: 7.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.3433, allocations: 75.28 kB / 0.5723 GB, free: 7.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3433, allocations: 4 kB / 0.5724 GB, free: 7.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.3439, allocations: 151.5 kB / 0.5725 GB, free: 7.578 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.001087/0.345, allocations: 0.9804 MB / 0.5735 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.196e-05/0.345, allocations: 0 / 0.5735 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.345, allocations: 0 / 0.5735 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.345, allocations: 0 / 0.5735 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3454, allocations: 467.7 kB / 0.5739 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.3458, allocations: 222 kB / 0.5741 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.3459, allocations: 51.36 kB / 0.5742 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.613e-06/0.3459, allocations: 0 / 0.5742 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.3459, allocations: 11.44 kB / 0.5742 GB, free: 5.781 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3459, allocations: 3.938 kB / 0.5742 GB, free: 5.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3772, allocations: 4.854 MB / 0.5789 GB, free: 1.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.31, allocations: 13.12 kB / 0.5789 GB, free: 1.043 MB / 414.1 MB " [Timeout remaining time 649] (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.129074230004335] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.419408736983314 11.447884792 11.104551229 Calling exit ...