Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001335/0.001335, allocations: 117.7 kB / 20.32 MB, free: 1.547 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.001586/0.001586, allocations: 206.9 kB / 23.6 MB, free: 4.945 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.504/1.504, allocations: 230.4 MB / 257.1 MB, free: 8.07 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.2371/0.2371, allocations: 46.93 MB / 360.5 MB, free: 4.191 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.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 79.86 kB / 0.4958 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3552, allocations: 66.09 MB / 0.5603 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001942/0.3571, allocations: 495.1 kB / 0.5608 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3597, allocations: 1.63 MB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.3597, allocations: 0 / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3597, allocations: 3.938 kB / 0.5624 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.3597, allocations: 0 / 0.5624 GB, free: 2.172 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3609, allocations: 283.2 kB / 0.5627 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.3609, allocations: 11.98 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.361, allocations: 4 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.397e-05/0.361, allocations: 4 kB / 0.5627 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.62e-05/0.361, allocations: 0 / 0.5627 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.361, allocations: 0 / 0.5627 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007305/0.3617, allocations: 435 kB / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.3617, allocations: 0 / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.3617, allocations: 7.922 kB / 0.5631 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.3622, allocations: 301.1 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3622, allocations: 4 kB / 0.5634 GB, free: 1.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3622, allocations: 0 / 0.5634 GB, free: 1.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3622, allocations: 0 / 0.5634 GB, free: 1.145 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003651/0.3626, allocations: 299.7 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3626, allocations: 11.97 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.3627, allocations: 30.75 kB / 0.5637 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.3627, allocations: 0.9375 kB / 0.5637 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3628, allocations: 114.5 kB / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3628, allocations: 384 / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.3628, allocations: 384 / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.3629, allocations: 63.53 kB / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3629, allocations: 0 / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.3629, allocations: 0 / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3629, allocations: 0 / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.545e-05/0.363, allocations: 33.69 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.3631, allocations: 116.8 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.3632, allocations: 48.25 kB / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.3632, allocations: 38.5 kB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.3632, allocations: 0 / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.3633, allocations: 64.19 kB / 0.5642 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3633, allocations: 0 / 0.5642 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002111/0.3635, allocations: 114.9 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.3636, allocations: 81.11 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.3636, allocations: 97.8 kB / 0.5645 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3637, allocations: 29.64 kB / 0.5645 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.3637, allocations: 84.27 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3637, allocations: 0 / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.3637, allocations: 13.72 kB / 0.5646 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3639, allocations: 314.8 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.3639, allocations: 25.7 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.3639, allocations: 29.7 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.364, allocations: 56.27 kB / 0.565 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.364, allocations: 4.062 kB / 0.565 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.92e-05/0.3641, allocations: 93.09 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.3641, allocations: 39.98 kB / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.3641, allocations: 0 / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3641, allocations: 0 / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.3641, allocations: 3.938 kB / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3641, allocations: 0 / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.3641, allocations: 0 / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3641, allocations: 3.984 kB / 0.5651 GB, free: 15.07 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001133/0.3643, allocations: 140.9 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3643, allocations: 3.938 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.3643, allocations: 6.984 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3643, allocations: 4 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3643, allocations: 0 / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3643, allocations: 3.938 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3644, allocations: 120.8 kB / 0.5654 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3644, allocations: 0 / 0.5654 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3644, allocations: 0 / 0.5654 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3644, allocations: 7.938 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3644, allocations: 4 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3644, allocations: 4 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3644, allocations: 3.938 kB / 0.5654 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3645, allocations: 116.5 kB / 0.5655 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.3645, allocations: 3.938 kB / 0.5655 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3646, allocations: 3.938 kB / 0.5655 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.3646, allocations: 0 / 0.5655 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.3646, allocations: 4 kB / 0.5655 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3646, allocations: 4.031 kB / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.3646, allocations: 75.28 kB / 0.5656 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3646, allocations: 0 / 0.5656 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000299/0.3649, allocations: 63.8 kB / 0.5657 GB, free: 14.43 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007765/0.3657, allocations: 0.7348 MB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3658, allocations: 126.7 kB / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3658, allocations: 0 / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.3659, allocations: 85.05 kB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.366, allocations: 4 kB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3664, allocations: 152.2 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.3664, allocations: 55.36 kB / 0.5668 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.3664, allocations: 3.984 kB / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.3664, allocations: 7.438 kB / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3664, allocations: 128 / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.3948, allocations: 2.239 MB / 0.569 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 2.812 kB / 0.569 GB, free: 10.98 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.767933832947165] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.821143495850265 11.837906105 11.472316717 Calling exit ...