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.001863/0.001863, allocations: 114 kB / 20.43 MB, free: 1.457 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.002255/0.002255, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.229/0.229, allocations: 46.93 MB / 360.8 MB, free: 4.199 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.002435/0.002435, allocations: 75.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3415, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002136/0.3437, allocations: 489.1 kB / 0.5612 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004341/0.348, allocations: 2.078 MB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-06/0.348, allocations: 0 / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-06/0.348, allocations: 0 / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.163e-06/0.348, allocations: 0 / 0.5632 GB, free: 1.727 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.002508/0.3505, allocations: 0.5593 MB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.714e-05/0.3506, allocations: 0 / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.3506, allocations: 3.984 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.3506, allocations: 3.984 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-06/0.3506, allocations: 0 / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-06/0.3506, allocations: 3.938 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.353, allocations: 1.13 MB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-06/0.353, allocations: 0 / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.353, allocations: 4 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.3547, allocations: 0.8397 MB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3547, allocations: 0 / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3548, allocations: 0 / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3548, allocations: 3.984 kB / 0.5657 GB, free: 15.18 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.0005573/0.3553, allocations: 305.7 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3554, allocations: 8.031 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.3555, allocations: 106 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.3556, allocations: 80.22 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3558, allocations: 185.8 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.3559, allocations: 150.9 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.3559, allocations: 150.9 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3561, allocations: 105.1 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.3561, allocations: 75.28 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.3562, allocations: 158.6 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/0.3563, allocations: 150.6 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3564, allocations: 158.5 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.3568, allocations: 413 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3569, allocations: 169.1 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3571, allocations: 92.08 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.3571, allocations: 75.28 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.982e-05/0.3572, allocations: 113.8 kB / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3572, allocations: 0 / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.00011/0.3573, allocations: 29.64 kB / 0.5681 GB, free: 12.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3574, allocations: 156.4 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.3575, allocations: 89.86 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3575, allocations: 29.7 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3576, allocations: 80.14 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-06/0.3576, allocations: 3.938 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.3576, allocations: 9.719 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3578, allocations: 318.8 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.3578, allocations: 0 / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.3578, allocations: 4 kB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.3578, allocations: 79.31 kB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-05/0.3579, allocations: 75.28 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.368e-05/0.358, allocations: 29.64 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.358, allocations: 89.25 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/0.3581, allocations: 79.36 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.725e-05/0.3581, allocations: 150.6 kB / 0.5693 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-05/0.3582, allocations: 79.22 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-05/0.3583, allocations: 162.5 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3584, allocations: 83.22 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3584, allocations: 75.28 kB / 0.5696 GB, free: 10.93 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.0001685/0.3586, allocations: 260.4 kB / 0.5699 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.3587, allocations: 108.9 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3587, allocations: 111.8 kB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.932e-05/0.3588, allocations: 180.2 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.897e-05/0.3589, allocations: 188.2 kB / 0.5704 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.713e-05/0.359, allocations: 176.3 kB / 0.5706 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3595, allocations: 372.2 kB / 0.571 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.681e-05/0.3596, allocations: 117 kB / 0.5711 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.3596, allocations: 101 kB / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.3597, allocations: 188.1 kB / 0.5714 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.3599, allocations: 176.3 kB / 0.5715 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-05/0.36, allocations: 184.2 kB / 0.5717 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000149/0.3601, allocations: 184.2 kB / 0.5719 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3603, allocations: 307.8 kB / 0.5722 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3604, allocations: 104.9 kB / 0.5723 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.3605, allocations: 184.2 kB / 0.5724 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3606, allocations: 105 kB / 0.5725 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.3607, allocations: 180.3 kB / 0.5727 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.3608, allocations: 108.9 kB / 0.5728 GB, free: 7.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.3609, allocations: 75.28 kB / 0.5729 GB, free: 7.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 0.5729 GB, free: 7.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009438/0.3618, allocations: 151.6 kB / 0.573 GB, free: 7.246 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.001503/0.3633, allocations: 0.973 MB / 0.574 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.3634, allocations: 3.938 kB / 0.574 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3634, allocations: 4 kB / 0.574 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3634, allocations: 496 / 0.574 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3637, allocations: 464.7 kB / 0.5744 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.3642, allocations: 221.6 kB / 0.5747 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3646, allocations: 0.669 MB / 0.5753 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.218e-06/0.3646, allocations: 8 kB / 0.5753 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.3646, allocations: 7.438 kB / 0.5753 GB, free: 4.816 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3646, allocations: 0 / 0.5753 GB, free: 4.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.3972, allocations: 4.444 MB / 0.5797 GB, free: 484 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 0 / 0.5797 GB, free: 484 kB / 414.1 MB " [Timeout remaining time 648] (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: 14.608168545004446] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.698999064996315 11.730338149 11.369754318 Calling exit ...