Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001718/0.001718, 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.002218/0.002218, allocations: 209.3 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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2202/0.2202, allocations: 46.93 MB / 361.6 MB, free: 4.215 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 83.86 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 66.09 MB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001565/0.3275, allocations: 493 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3296, allocations: 1.636 MB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.3296, allocations: 0 / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.3297, allocations: 0 / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.3297, allocations: 0 / 0.5636 GB, free: 2.211 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0008851/0.3305, allocations: 287.2 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.368e-05/0.3306, allocations: 8 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.3306, allocations: 11.98 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.3306, allocations: 4 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.34e-05/0.3307, allocations: 0 / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-06/0.3307, allocations: 0 / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.3315, allocations: 0.6042 MB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-06/0.3315, allocations: 0 / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.3315, allocations: 11.92 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.332, allocations: 321.2 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.332, allocations: 4 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.332, allocations: 0 / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.332, allocations: 0 / 0.5648 GB, free: 0.9727 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.0003496/0.3323, allocations: 299.7 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3324, allocations: 8.031 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.3324, allocations: 30.75 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.3324, allocations: 4.938 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/0.3325, allocations: 106.5 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3325, allocations: 384 / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-06/0.3325, allocations: 4.375 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.721e-05/0.3326, allocations: 33.83 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3326, allocations: 0 / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.3326, allocations: 0 / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3326, allocations: 3.938 kB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.3327, allocations: 3.984 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.3328, allocations: 116.8 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/0.3328, allocations: 22.52 kB / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.3328, allocations: 12.95 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-06/0.3328, allocations: 0 / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.3329, allocations: 64.14 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.3329, allocations: 0 / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.3331, allocations: 71.31 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.3331, allocations: 81.11 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.3332, allocations: 93.81 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3332, allocations: 29.83 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3332, allocations: 80.14 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3332, allocations: 4 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.3333, allocations: 9.719 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3334, allocations: 314.8 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.3334, allocations: 4 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.3334, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.3335, allocations: 68.27 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3335, allocations: 4 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.728e-05/0.3336, allocations: 55.41 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.3336, allocations: 41.62 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3336, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3336, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.3336, allocations: 4 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.3336, allocations: 0 / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.3336, allocations: 4 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3336, allocations: 0 / 0.5663 GB, free: 15.19 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 9.207e-05/0.3337, allocations: 135.6 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3337, allocations: 7.938 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.3338, allocations: 10.98 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3338, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3338, allocations: 3.984 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3338, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.82e-05/0.3339, allocations: 112.8 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3339, allocations: 4 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.3339, allocations: 0 / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3339, allocations: 3.938 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3339, allocations: 4 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.3339, allocations: 0 / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3339, allocations: 3.938 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.334, allocations: 90.83 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.334, allocations: 7.875 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.334, allocations: 0 / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.334, allocations: 4 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.334, allocations: 11.95 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.334, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.334, allocations: 75.28 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.334, allocations: 0 / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000292/0.3343, allocations: 63.81 kB / 0.5668 GB, free: 14.57 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.0007189/0.3351, allocations: 0.7125 MB / 0.5675 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.3351, allocations: 75.39 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3351, allocations: 0 / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.3352, allocations: 51.41 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.3353, allocations: 4 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.3356, allocations: 122.5 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.3359, allocations: 0.6729 MB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.839e-06/0.3359, allocations: 0 / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.3359, allocations: 15.38 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3359, allocations: 4.125 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.3594, allocations: 2.125 MB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.201, allocations: 4.062 kB / 0.5705 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.007084489800036] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.273171068169177 8.288911862 7.953776222 Calling exit ...