Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001689/0.001689, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.002154/0.002154, allocations: 218.5 kB / 23.78 MB, free: 4.215 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.443/1.443, allocations: 230.5 MB / 257.5 MB, free: 7.738 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.2284/0.2284, allocations: 46.94 MB / 360.9 MB, free: 3.883 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.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 83.88 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3018, allocations: 66.09 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001607/0.3034, allocations: 483.7 kB / 0.5612 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.3111, allocations: 4.587 MB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.3111, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.3111, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.3111, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007811/0.3189, allocations: 3.255 MB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.319, allocations: 15.92 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.319, allocations: 0 / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.319, allocations: 0 / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.319, allocations: 7.984 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-06/0.319, allocations: 0 / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03044/0.3495, allocations: 19.79 MB / 0.5882 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3495, allocations: 3.984 kB / 0.5882 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.3495, allocations: 0 / 0.5882 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03504/0.3846, allocations: 26.13 MB / 0.6138 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3846, allocations: 0 / 0.6138 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3846, allocations: 0 / 0.6138 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3846, allocations: 0 / 0.6138 GB, free: 13.65 MB / 462.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.007434/0.392, allocations: 0.5971 MB / 0.6144 GB, free: 13.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3921, allocations: 12.03 kB / 0.6144 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.3921, allocations: 30.75 kB / 0.6144 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.3921, allocations: 4.875 kB / 0.6144 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.3922, allocations: 109.7 kB / 0.6145 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3923, allocations: 0 / 0.6145 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3923, allocations: 7.984 kB / 0.6145 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3924, allocations: 59.39 kB / 0.6146 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3924, allocations: 0 / 0.6146 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3924, allocations: 4 kB / 0.6146 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3924, allocations: 0 / 0.6146 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.3925, allocations: 25.7 kB / 0.6146 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3926, allocations: 128.6 kB / 0.6147 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.3927, allocations: 44.22 kB / 0.6148 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.3927, allocations: 46.64 kB / 0.6148 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.3927, allocations: 0 / 0.6148 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.3928, allocations: 56.27 kB / 0.6149 GB, free: 12.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3928, allocations: 0 / 0.6149 GB, free: 12.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002362/0.393, allocations: 114.8 kB / 0.615 GB, free: 12.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.3931, allocations: 85.05 kB / 0.615 GB, free: 12.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.3931, allocations: 93.86 kB / 0.6151 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3931, allocations: 25.7 kB / 0.6152 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.3932, allocations: 80.14 kB / 0.6152 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3932, allocations: 0 / 0.6152 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3932, allocations: 13.84 kB / 0.6153 GB, free: 11.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3934, allocations: 318.8 kB / 0.6156 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.3934, allocations: 25.7 kB / 0.6156 GB, free: 11.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.3934, allocations: 29.7 kB / 0.6156 GB, free: 11.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.3935, allocations: 64.25 kB / 0.6157 GB, free: 11.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3935, allocations: 4 kB / 0.6157 GB, free: 11.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.887e-05/0.3936, allocations: 85.05 kB / 0.6158 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.3936, allocations: 33.7 kB / 0.6158 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/0.3936, allocations: 3.984 kB / 0.6158 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3936, allocations: 4.031 kB / 0.6158 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.3936, allocations: 4 kB / 0.6158 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3936, allocations: 0 / 0.6158 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.3937, allocations: 0 / 0.6158 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3937, allocations: 4 kB / 0.6158 GB, free: 11.27 MB / 462.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.0001076/0.3938, allocations: 139.5 kB / 0.6159 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.3938, allocations: 0 / 0.6159 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.3938, allocations: 7 kB / 0.6159 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3938, allocations: 0 / 0.6159 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3938, allocations: 4 kB / 0.6159 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3938, allocations: 0 / 0.6159 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.3939, allocations: 124.7 kB / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3939, allocations: 0 / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3939, allocations: 4 kB / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.3939, allocations: 0 / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3939, allocations: 3.938 kB / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3939, allocations: 0 / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3939, allocations: 0 / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.3941, allocations: 128.4 kB / 0.6162 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.3941, allocations: 0 / 0.6162 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3941, allocations: 4 kB / 0.6162 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.3941, allocations: 8.031 kB / 0.6162 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3941, allocations: 0 / 0.6162 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3941, allocations: 0 / 0.6162 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.3941, allocations: 79.27 kB / 0.6163 GB, free: 10.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3941, allocations: 4 kB / 0.6163 GB, free: 10.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01264/0.4068, allocations: 3.776 MB / 0.62 GB, free: 6.898 MB / 462.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.02091/0.4277, allocations: 1.544 MB / 0.6215 GB, free: 5.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.4279, allocations: 122.8 kB / 0.6216 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4279, allocations: 0 / 0.6216 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.428, allocations: 81.11 kB / 0.6217 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.4281, allocations: 4.844 kB / 0.6217 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007885/0.436, allocations: 382.5 kB / 0.622 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.4361, allocations: 59.34 kB / 0.6221 GB, free: 4.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.664e-06/0.4361, allocations: 0 / 0.6221 GB, free: 4.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.4361, allocations: 12.5 kB / 0.6221 GB, free: 4.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4361, allocations: 0 / 0.6221 GB, free: 4.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/0.6282, allocations: 114.4 MB / 0.7339 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/18.79, allocations: 7.984 kB / 0.7339 GB, free: 2.004 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_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_TestMatrices2.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.934666707995348] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 18.93620027101133 19.158200463 18.771296931 Calling exit ...