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.001334/0.001334, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001462/0.001462, allocations: 218.9 kB / 21.46 MB, free: 1.586 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 / 254.8 MB, free: 15.09 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.2271/0.2271, allocations: 46.92 MB / 357.8 MB, free: 10.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.05 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1303, allocations: 66 MB / 0.556 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001529/0.1318, allocations: 485 kB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.1349, allocations: 2.059 MB / 0.5585 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-06/0.1349, allocations: 0 / 0.5585 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-06/0.1349, allocations: 0 / 0.5585 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.222e-06/0.1349, allocations: 0 / 0.5585 GB, free: 3.281 MB / 414.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.001519/0.1364, allocations: 0.5136 MB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 2.022e-05/0.1364, allocations: 0 / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.91e-05/0.1364, allocations: 0 / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.232e-05/0.1364, allocations: 3.984 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-06/0.1365, allocations: 0 / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-06/0.1365, allocations: 0 / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1379, allocations: 0.9784 MB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.1379, allocations: 0 / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.606e-06/0.1379, allocations: 3.938 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000948/0.1388, allocations: 0.8029 MB / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1388, allocations: 0 / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1388, allocations: 0 / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1388, allocations: 0 / 0.5608 GB, free: 0.9766 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.0004392/0.1393, allocations: 382.8 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1393, allocations: 12.03 kB / 0.5611 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.908e-05/0.1394, allocations: 83.47 kB / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.1394, allocations: 106 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1395, allocations: 84.14 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1397, allocations: 235.7 kB / 0.5616 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.592e-05/0.1397, allocations: 150.9 kB / 0.5618 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.1398, allocations: 150.9 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.767e-05/0.1399, allocations: 108.9 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.1399, allocations: 79.22 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.14, allocations: 154.6 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.77e-05/0.1401, allocations: 154.6 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.1402, allocations: 154.5 kB / 0.5625 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.1405, allocations: 445.9 kB / 0.563 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1406, allocations: 165.1 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.1407, allocations: 88.14 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.1407, allocations: 83.22 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.1408, allocations: 109.8 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1408, allocations: 0 / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.751e-05/0.1408, allocations: 29.64 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.1409, allocations: 152.4 kB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/0.141, allocations: 89.86 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.141, allocations: 29.7 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.141, allocations: 80.14 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.141, allocations: 0 / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.1411, allocations: 13.72 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1412, allocations: 318.8 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.1413, allocations: 0 / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.1413, allocations: 4 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.1413, allocations: 75.28 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.039e-05/0.1413, allocations: 75.28 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.503e-05/0.1414, allocations: 37.62 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.1414, allocations: 85.31 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/0.1415, allocations: 79.31 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.141e-05/0.1416, allocations: 154.5 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.883e-05/0.1416, allocations: 75.28 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.285e-05/0.1417, allocations: 158.5 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.1417, allocations: 83.16 kB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.1418, allocations: 79.28 kB / 0.5649 GB, free: 12.45 MB / 430.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.0001411/0.1419, allocations: 264.4 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.142, allocations: 108.9 kB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.142, allocations: 107.9 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/0.1421, allocations: 180.2 kB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.235e-05/0.1422, allocations: 188.2 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/0.1423, allocations: 180.3 kB / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1426, allocations: 401.1 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.513e-05/0.1426, allocations: 105 kB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.1427, allocations: 108.9 kB / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.591e-05/0.1427, allocations: 180.2 kB / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.893e-05/0.1428, allocations: 188.3 kB / 0.5669 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.637e-05/0.1429, allocations: 184.2 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-05/0.143, allocations: 180.3 kB / 0.5672 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.1432, allocations: 307.8 kB / 0.5675 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.1433, allocations: 182 kB / 0.5677 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.1434, allocations: 188.2 kB / 0.5678 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.1434, allocations: 101 kB / 0.5679 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.1435, allocations: 184.2 kB / 0.5681 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/0.1436, allocations: 105 kB / 0.5682 GB, free: 8.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.1436, allocations: 75.28 kB / 0.5683 GB, free: 8.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1436, allocations: 0 / 0.5683 GB, free: 8.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005978/0.1442, allocations: 155.6 kB / 0.5684 GB, free: 8.633 MB / 430.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.001058/0.1453, allocations: 0.9783 MB / 0.5694 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.572e-05/0.1453, allocations: 0 / 0.5694 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1453, allocations: 0 / 0.5694 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.1453, allocations: 8.031 kB / 0.5694 GB, free: 7.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1457, allocations: 459.7 kB / 0.5698 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1462, allocations: 229.5 kB / 0.5701 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1465, allocations: 0.669 MB / 0.5707 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.506e-06/0.1465, allocations: 0 / 0.5707 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.1465, allocations: 11.44 kB / 0.5707 GB, free: 6.199 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1465, allocations: 0 / 0.5707 GB, free: 6.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.169, allocations: 4.375 MB / 0.575 GB, free: 1.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.372, allocations: 5.391 kB / 0.575 GB, free: 1.965 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.183568827982526] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.492675037996378 8.506563843 8.365087429999999 Calling exit ...