Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002392/0.002392, allocations: 209.2 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.89 MB / 361.3 MB, free: 4.438 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 75.88 kB / 0.4966 GB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3192, allocations: 66.04 MB / 0.561 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00159/0.3208, allocations: 486.4 kB / 0.5615 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.3239, allocations: 2.07 MB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-06/0.3239, allocations: 0 / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.305e-06/0.3239, allocations: 0 / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.3239, allocations: 0 / 0.5635 GB, free: 2.117 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001709/0.3256, allocations: 0.5565 MB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.361e-05/0.3256, allocations: 0 / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.3257, allocations: 3.984 kB / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.284e-06/0.3257, allocations: 0 / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-06/0.3257, allocations: 0 / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-06/0.3257, allocations: 4 kB / 0.5641 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.3272, allocations: 1.134 MB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-06/0.3272, allocations: 0 / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.3272, allocations: 0 / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3283, allocations: 0.8398 MB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3283, allocations: 0 / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3283, allocations: 0 / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3283, allocations: 0 / 0.566 GB, free: 15.58 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.000436/0.3287, allocations: 390.8 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3288, allocations: 8.031 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.3288, allocations: 106 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.3289, allocations: 76.22 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.329, allocations: 235.7 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.3291, allocations: 158.9 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.3292, allocations: 158.9 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.3293, allocations: 109.1 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.3293, allocations: 75.28 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.3294, allocations: 150.6 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/0.3294, allocations: 150.6 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3295, allocations: 150.6 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.3298, allocations: 453.9 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3299, allocations: 169.1 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.3299, allocations: 84.08 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.33, allocations: 79.22 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.295e-05/0.33, allocations: 117.8 kB / 0.5686 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.33, allocations: 0 / 0.5686 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.428e-05/0.3301, allocations: 33.75 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.3302, allocations: 156.3 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.296e-05/0.3303, allocations: 89.86 kB / 0.5688 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3303, allocations: 25.7 kB / 0.5689 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.3303, allocations: 80.14 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.3303, allocations: 0 / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.3303, allocations: 17.7 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3305, allocations: 314.8 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.3305, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.3305, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.3305, allocations: 75.28 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.222e-05/0.3306, allocations: 79.28 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.255e-05/0.3306, allocations: 29.7 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.3307, allocations: 83.22 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/0.3307, allocations: 83.33 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.408e-05/0.3308, allocations: 158.6 kB / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.3308, allocations: 83.2 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-05/0.3309, allocations: 154.5 kB / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.331, allocations: 75.28 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.331, allocations: 83.22 kB / 0.5701 GB, free: 11.12 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.0001298/0.3311, allocations: 264.4 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.3312, allocations: 104.9 kB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.3312, allocations: 119.7 kB / 0.5706 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-05/0.3313, allocations: 176.3 kB / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-05/0.3314, allocations: 176.3 kB / 0.5709 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.443e-05/0.3315, allocations: 188.2 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3317, allocations: 401.2 kB / 0.5715 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-05/0.3318, allocations: 104.9 kB / 0.5716 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.3318, allocations: 105 kB / 0.5717 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.409e-05/0.3319, allocations: 180.2 kB / 0.5718 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.332, allocations: 184.2 kB / 0.572 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.285e-05/0.3321, allocations: 188.2 kB / 0.5722 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.409e-05/0.3322, allocations: 180.2 kB / 0.5724 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.3323, allocations: 307.7 kB / 0.5727 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.3324, allocations: 182 kB / 0.5728 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.3325, allocations: 192.2 kB / 0.573 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.3326, allocations: 104.9 kB / 0.5731 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.3327, allocations: 176.3 kB / 0.5733 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.3327, allocations: 108.9 kB / 0.5734 GB, free: 7.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.3327, allocations: 75.28 kB / 0.5735 GB, free: 7.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3327, allocations: 4 kB / 0.5735 GB, free: 7.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000643/0.3334, allocations: 151.6 kB / 0.5736 GB, free: 7.301 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.001058/0.3344, allocations: 0.9741 MB / 0.5746 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.314e-05/0.3345, allocations: 0 / 0.5746 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3345, allocations: 0 / 0.5746 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3345, allocations: 7.938 kB / 0.5746 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3349, allocations: 458.4 kB / 0.575 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.3353, allocations: 222.1 kB / 0.5752 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3356, allocations: 0.6768 MB / 0.5759 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.005e-06/0.3356, allocations: 0 / 0.5759 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.3356, allocations: 11.38 kB / 0.5759 GB, free: 4.871 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3356, allocations: 0 / 0.5759 GB, free: 4.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.3621, allocations: 4.316 MB / 0.5801 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.296, allocations: 10.62 kB / 0.5801 GB, free: 0.6172 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.225830630166456] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.368186195846647 8.395131128 8.062558135 Calling exit ...