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.001299/0.001299, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001401/0.001401, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.461/1.461, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.239/0.239, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.001894/0.001894, allocations: 63.91 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1265, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001577/0.1281, allocations: 0.4949 MB / 0.5558 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1312, allocations: 2.046 MB / 0.5578 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-06/0.1312, allocations: 0 / 0.5578 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.446e-06/0.1312, allocations: 0 / 0.5578 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-07/0.1312, allocations: 3.938 kB / 0.5578 GB, free: 3.301 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.001549/0.1327, allocations: 0.5137 MB / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.306e-05/0.1328, allocations: 0 / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.411e-05/0.1328, allocations: 0 / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-06/0.1328, allocations: 0 / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-06/0.1328, allocations: 0 / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-06/0.1328, allocations: 0 / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.1342, allocations: 0.9707 MB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.1342, allocations: 0 / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.1342, allocations: 3.984 kB / 0.5593 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.1352, allocations: 0.8067 MB / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1352, allocations: 0 / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1352, allocations: 4 kB / 0.5601 GB, free: 1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1352, allocations: 0 / 0.5601 GB, free: 1 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.0004684/0.1357, allocations: 378.8 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1357, allocations: 12.03 kB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.155e-05/0.1358, allocations: 106 kB / 0.5606 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.1358, allocations: 76.22 kB / 0.5606 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.136, allocations: 243.7 kB / 0.5609 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.1361, allocations: 154.9 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.1361, allocations: 150.9 kB / 0.5612 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.1362, allocations: 105.1 kB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.1363, allocations: 79.28 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.1363, allocations: 154.5 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/0.1364, allocations: 158.6 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.1365, allocations: 150.6 kB / 0.5618 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.1368, allocations: 441.9 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1369, allocations: 165.1 kB / 0.5624 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.137, allocations: 100.1 kB / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.137, allocations: 75.28 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.33e-05/0.1371, allocations: 113.8 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1371, allocations: 0 / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.934e-05/0.1372, allocations: 29.64 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1373, allocations: 152.4 kB / 0.5628 GB, free: 14.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.1373, allocations: 93.86 kB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1373, allocations: 29.7 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.1374, allocations: 80.14 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.1374, allocations: 0 / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.1374, allocations: 9.719 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1376, allocations: 314.8 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-06/0.1376, allocations: 3.938 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.1376, allocations: 4 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.1376, allocations: 79.31 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.072e-05/0.1377, allocations: 75.28 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.282e-05/0.1378, allocations: 37.67 kB / 0.5635 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.1378, allocations: 87.22 kB / 0.5636 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.1378, allocations: 75.28 kB / 0.5636 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.319e-05/0.1379, allocations: 150.6 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.138, allocations: 79.22 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.246e-05/0.138, allocations: 158.6 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.1381, allocations: 83.22 kB / 0.5641 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.1382, allocations: 75.28 kB / 0.5642 GB, free: 12.55 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.0001537/0.1383, allocations: 264.4 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.1384, allocations: 104.9 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.946e-05/0.1384, allocations: 115.8 kB / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.567e-05/0.1385, allocations: 176.3 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-05/0.1386, allocations: 188.2 kB / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/0.1387, allocations: 180.2 kB / 0.5652 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.139, allocations: 397.2 kB / 0.5655 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.139, allocations: 108.9 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.139, allocations: 109 kB / 0.5657 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-05/0.1391, allocations: 192.1 kB / 0.5659 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/0.1392, allocations: 176.3 kB / 0.5661 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.615e-05/0.1393, allocations: 180.3 kB / 0.5663 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.377e-05/0.1394, allocations: 184.2 kB / 0.5664 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1396, allocations: 311.8 kB / 0.5667 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.1396, allocations: 182 kB / 0.5669 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/0.1397, allocations: 180.2 kB / 0.5671 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.1398, allocations: 101 kB / 0.5672 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1399, allocations: 184.2 kB / 0.5674 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.14, allocations: 108.9 kB / 0.5675 GB, free: 8.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.14, allocations: 79.28 kB / 0.5675 GB, free: 8.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.14, allocations: 0 / 0.5675 GB, free: 8.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006388/0.1407, allocations: 147.6 kB / 0.5677 GB, free: 8.742 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.001164/0.1418, allocations: 0.9747 MB / 0.5686 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.618e-05/0.1419, allocations: 3.938 kB / 0.5686 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1419, allocations: 4 kB / 0.5686 GB, free: 7.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/0.1419, allocations: 4.031 kB / 0.5686 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1423, allocations: 459.4 kB / 0.5691 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.1427, allocations: 233.6 kB / 0.5693 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.143, allocations: 0.669 MB / 0.57 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.428e-06/0.143, allocations: 0 / 0.57 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.1431, allocations: 11.44 kB / 0.57 GB, free: 6.309 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1431, allocations: 0 / 0.57 GB, free: 6.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.1708, allocations: 4.335 MB / 0.5742 GB, free: 2.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.268, allocations: 15.92 kB / 0.5742 GB, free: 2.074 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.33813932701014] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.33755949800252 8.361385630000001 8.221801253 Calling exit ...