Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 118.1 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003078/0.003078, allocations: 66.95 kB / 491.8 MB, free: 29.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1411, allocations: 64.25 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001631/0.1428, allocations: 499.8 kB / 0.5435 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.146, allocations: 1.997 MB / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-06/0.146, allocations: 0 / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.998e-06/0.146, allocations: 0 / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.72e-07/0.146, allocations: 0 / 0.5454 GB, free: 1.605 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750: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.001948/0.148, allocations: 0.5192 MB / 0.5459 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.165e-05/0.148, allocations: 3.938 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.148, allocations: 4 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-06/0.1481, allocations: 0 / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.002e-05/0.1481, allocations: 4 kB / 0.5459 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-06/0.1481, allocations: 0 / 0.5459 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.1496, allocations: 0.9433 MB / 0.5468 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.1496, allocations: 7.984 kB / 0.5469 GB, free: 128 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.1496, allocations: 0 / 0.5469 GB, free: 128 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.1508, allocations: 0.7797 MB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1508, allocations: 0 / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1508, allocations: 0 / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1508, allocations: 0 / 0.5476 GB, free: 15.34 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.0006371/0.1515, allocations: 390.8 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.1515, allocations: 12.02 kB / 0.548 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.158e-05/0.1516, allocations: 106 kB / 0.5481 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.1517, allocations: 76.22 kB / 0.5482 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1519, allocations: 239.7 kB / 0.5484 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/0.1519, allocations: 150.9 kB / 0.5485 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.152, allocations: 150.9 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1521, allocations: 113 kB / 0.5488 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.1522, allocations: 75.28 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.1523, allocations: 150.6 kB / 0.549 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-05/0.1523, allocations: 150.6 kB / 0.5492 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.1524, allocations: 154.6 kB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1528, allocations: 449.9 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1529, allocations: 169.1 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.1529, allocations: 80.14 kB / 0.55 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.153, allocations: 79.28 kB / 0.55 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.198e-05/0.153, allocations: 113.8 kB / 0.5502 GB, free: 12.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 6.142e-06/0.153, allocations: 3.984 kB / 0.5502 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.214e-05/0.1531, allocations: 29.7 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.1532, allocations: 152.4 kB / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.1533, allocations: 89.86 kB / 0.5504 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1533, allocations: 29.64 kB / 0.5504 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.1533, allocations: 80.14 kB / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.1533, allocations: 0 / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1534, allocations: 21.7 kB / 0.5505 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1535, allocations: 310.8 kB / 0.5508 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.1535, allocations: 0 / 0.5508 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.1535, allocations: 3.938 kB / 0.5508 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.1536, allocations: 79.28 kB / 0.5509 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.1536, allocations: 75.28 kB / 0.551 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001082/0.1537, allocations: 37.7 kB / 0.551 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.1538, allocations: 83.22 kB / 0.5511 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/0.1538, allocations: 87.25 kB / 0.5512 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.845e-05/0.1539, allocations: 150.6 kB / 0.5513 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.771e-05/0.1539, allocations: 79.33 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.65e-05/0.154, allocations: 158.5 kB / 0.5516 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.1541, allocations: 79.28 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.1541, allocations: 83.22 kB / 0.5517 GB, free: 10.89 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.0001397/0.1543, allocations: 260.4 kB / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1543, allocations: 104.9 kB / 0.5521 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.1544, allocations: 112 kB / 0.5522 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-05/0.1545, allocations: 180.2 kB / 0.5523 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-05/0.1546, allocations: 176.3 kB / 0.5525 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.502e-05/0.1547, allocations: 188.2 kB / 0.5527 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.1549, allocations: 401.2 kB / 0.5531 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-05/0.155, allocations: 108.9 kB / 0.5532 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.155, allocations: 101 kB / 0.5533 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.968e-05/0.1551, allocations: 180.2 kB / 0.5534 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.493e-05/0.1552, allocations: 192.2 kB / 0.5536 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.549e-05/0.1553, allocations: 176.3 kB / 0.5538 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.201e-05/0.1554, allocations: 184.2 kB / 0.554 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1555, allocations: 303.8 kB / 0.5543 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1556, allocations: 186 kB / 0.5544 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1557, allocations: 188.2 kB / 0.5546 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.1558, allocations: 104.9 kB / 0.5547 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.1559, allocations: 176.3 kB / 0.5549 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.156, allocations: 105 kB / 0.555 GB, free: 7.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.156, allocations: 75.28 kB / 0.5551 GB, free: 7.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.156, allocations: 0 / 0.5551 GB, free: 7.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.1566, allocations: 155.5 kB / 0.5552 GB, free: 7.082 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.001127/0.1578, allocations: 0.9776 MB / 0.5562 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.869e-05/0.1578, allocations: 480 / 0.5562 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1578, allocations: 0 / 0.5562 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.1578, allocations: 3.938 kB / 0.5562 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1582, allocations: 459.7 kB / 0.5566 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1587, allocations: 217.6 kB / 0.5568 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1591, allocations: 0.6727 MB / 0.5575 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.1591, allocations: 0 / 0.5575 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.1591, allocations: 7.438 kB / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1591, allocations: 4 kB / 0.5575 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.1866, allocations: 4.272 MB / 0.5617 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.244, allocations: 4.266 kB / 0.5617 GB, free: 0.5078 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.006881511770189] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.314983719959855 8.336758833 8.18160849 Calling exit ...