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.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.001268/0.001268, allocations: 121 kB / 18.5 MB, free: 4.562 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.00135/0.00135, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.415/1.415, 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.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.2081/0.2081, allocations: 44.91 MB / 355.8 MB, free: 12.34 MB / 286.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.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_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1235, allocations: 65.41 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001584/0.1251, allocations: 0.4907 MB / 0.5529 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1286, allocations: 2.067 MB / 0.5549 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-06/0.1286, allocations: 0 / 0.5549 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-06/0.1286, allocations: 0 / 0.5549 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.664e-06/0.1286, allocations: 0 / 0.5549 GB, free: 7.598 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.001821/0.1304, allocations: 0.4982 MB / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.667e-05/0.1304, allocations: 0 / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.1305, allocations: 4 kB / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-06/0.1305, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.201e-05/0.1305, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-06/0.1305, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1319, allocations: 0.9745 MB / 0.5564 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.1319, allocations: 0 / 0.5564 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1319, allocations: 7.984 kB / 0.5564 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009834/0.1329, allocations: 0.8031 MB / 0.5571 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1329, allocations: 0 / 0.5571 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1329, allocations: 0 / 0.5571 GB, free: 5.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1329, allocations: 0 / 0.5571 GB, free: 5.309 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.0005075/0.1334, allocations: 382.8 kB / 0.5575 GB, free: 4.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1335, allocations: 8.031 kB / 0.5575 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.113e-05/0.1335, allocations: 75.47 kB / 0.5576 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.1336, allocations: 110 kB / 0.5577 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1337, allocations: 76.22 kB / 0.5578 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1339, allocations: 239.7 kB / 0.558 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.134, allocations: 158.9 kB / 0.5581 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.1341, allocations: 150.9 kB / 0.5583 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1342, allocations: 104.9 kB / 0.5584 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.1342, allocations: 79.28 kB / 0.5585 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.1343, allocations: 154.5 kB / 0.5586 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/0.1344, allocations: 154.5 kB / 0.5588 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1345, allocations: 154.6 kB / 0.5589 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.1348, allocations: 449.9 kB / 0.5593 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1349, allocations: 169.1 kB / 0.5595 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.135, allocations: 84.08 kB / 0.5596 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.135, allocations: 79.22 kB / 0.5597 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.1351, allocations: 105.8 kB / 0.5598 GB, free: 2.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1351, allocations: 4 kB / 0.5598 GB, free: 2.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.489e-05/0.1352, allocations: 41.58 kB / 0.5598 GB, free: 2.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1353, allocations: 160.4 kB / 0.56 GB, free: 2.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.1353, allocations: 89.86 kB / 0.56 GB, free: 2.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1353, allocations: 25.7 kB / 0.5601 GB, free: 2.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.1354, allocations: 80.14 kB / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1354, allocations: 0 / 0.5601 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1354, allocations: 13.72 kB / 0.5602 GB, free: 1.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1355, allocations: 310.8 kB / 0.5604 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-06/0.1355, allocations: 4 kB / 0.5605 GB, free: 1.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.1356, allocations: 0 / 0.5605 GB, free: 1.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.1356, allocations: 75.28 kB / 0.5605 GB, free: 1.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-05/0.1356, allocations: 75.28 kB / 0.5606 GB, free: 1.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.659e-05/0.1357, allocations: 37.58 kB / 0.5606 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.1357, allocations: 81.31 kB / 0.5607 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-05/0.1358, allocations: 83.33 kB / 0.5608 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.614e-05/0.1359, allocations: 158.6 kB / 0.5609 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.1359, allocations: 83.22 kB / 0.561 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-05/0.136, allocations: 150.6 kB / 0.5612 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.1361, allocations: 83.22 kB / 0.5612 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.1361, allocations: 75.28 kB / 0.5613 GB, free: 0.7812 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.0001666/0.1363, allocations: 260.3 kB / 0.5616 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.1363, allocations: 112.9 kB / 0.5617 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.1364, allocations: 119.8 kB / 0.5618 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-05/0.1365, allocations: 176.3 kB / 0.562 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/0.1366, allocations: 180.2 kB / 0.5621 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.58e-05/0.1367, allocations: 176.3 kB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.137, allocations: 409.2 kB / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/0.137, allocations: 104.9 kB / 0.5628 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.1371, allocations: 104.9 kB / 0.5629 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-05/0.1371, allocations: 184.2 kB / 0.5631 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.211e-05/0.1372, allocations: 176.3 kB / 0.5632 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.103e-05/0.1373, allocations: 184.2 kB / 0.5634 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.368e-05/0.1374, allocations: 188.1 kB / 0.5636 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1376, allocations: 303.8 kB / 0.5639 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.1376, allocations: 186 kB / 0.564 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.1377, allocations: 184.2 kB / 0.5642 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.1378, allocations: 109 kB / 0.5643 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.1379, allocations: 176.3 kB / 0.5645 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.1379, allocations: 108.9 kB / 0.5646 GB, free: 13.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.138, allocations: 75.28 kB / 0.5647 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.138, allocations: 0 / 0.5647 GB, free: 13.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006908/0.1387, allocations: 151.6 kB / 0.5648 GB, free: 12.97 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.001191/0.1399, allocations: 0.9798 MB / 0.5658 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.1399, allocations: 11.92 kB / 0.5658 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1399, allocations: 0 / 0.5658 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1399, allocations: 0 / 0.5658 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.1403, allocations: 455.7 kB / 0.5662 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.1408, allocations: 237.6 kB / 0.5664 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1411, allocations: 0.6729 MB / 0.5671 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.326e-06/0.1411, allocations: 0 / 0.5671 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.1412, allocations: 7.438 kB / 0.5671 GB, free: 10.53 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1412, allocations: 0 / 0.5671 GB, free: 10.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1618, allocations: 4.372 MB / 0.5714 GB, free: 6.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.337, allocations: 8 kB / 0.5714 GB, free: 6.285 MB / 430.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.090527669002768] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.462259348947555 8.483374182 8.346378621 Calling exit ...