Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 111.8 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 195.7 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 207.6 MB / 230.4 MB, free: 4.242 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3384/0.3384, allocations: 44.23 MB / 326.5 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.88 kB / 462.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2838, allocations: 61 MB / 0.5109 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001664/0.2855, allocations: 0.5023 MB / 0.5114 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2879, allocations: 2.028 MB / 0.5134 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-06/0.2879, allocations: 1.438 kB / 0.5134 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-06/0.2879, allocations: 0 / 0.5134 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.2879, allocations: 0 / 0.5134 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2894, allocations: 0.5154 MB / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.102e-05/0.2894, allocations: 0 / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.681e-05/0.2894, allocations: 1.125 kB / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-06/0.2894, allocations: 5.344 kB / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-06/0.2894, allocations: 0 / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-06/0.2894, allocations: 0 / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.291, allocations: 0.9446 MB / 0.5148 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.291, allocations: 1.25 kB / 0.5148 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.169e-05/0.2911, allocations: 0 / 0.5148 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2922, allocations: 0.7887 MB / 0.5156 GB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2923, allocations: 0 / 0.5156 GB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2923, allocations: 0 / 0.5156 GB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2923, allocations: 0 / 0.5156 GB, free: 10.15 MB / 382.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.0004102/0.2927, allocations: 384.7 kB / 0.5159 GB, free: 9.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2927, allocations: 13.48 kB / 0.5159 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.2928, allocations: 107.4 kB / 0.516 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.2928, allocations: 76.22 kB / 0.5161 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.2929, allocations: 239.7 kB / 0.5163 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2929, allocations: 156.2 kB / 0.5165 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2929, allocations: 158.9 kB / 0.5166 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.55e-05/0.293, allocations: 113 kB / 0.5168 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.293, allocations: 76.66 kB / 0.5168 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.293, allocations: 150.6 kB / 0.517 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.2931, allocations: 150.6 kB / 0.5171 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.2931, allocations: 151.9 kB / 0.5173 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.2933, allocations: 451.3 kB / 0.5177 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.2934, allocations: 169.1 kB / 0.5179 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.2934, allocations: 81.52 kB / 0.5179 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.2934, allocations: 75.28 kB / 0.518 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2934, allocations: 115.2 kB / 0.5181 GB, free: 7.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.2934, allocations: 3.984 kB / 0.5181 GB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.873e-05/0.2935, allocations: 35.06 kB / 0.5181 GB, free: 7.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2935, allocations: 156.3 kB / 0.5183 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.575e-05/0.2936, allocations: 89.86 kB / 0.5184 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.2936, allocations: 27.08 kB / 0.5184 GB, free: 7.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.39e-05/0.2936, allocations: 80.14 kB / 0.5185 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.2936, allocations: 4 kB / 0.5185 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.2936, allocations: 12.47 kB / 0.5185 GB, free: 6.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.2937, allocations: 310.8 kB / 0.5188 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-06/0.2937, allocations: 0 / 0.5188 GB, free: 6.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.2937, allocations: 1.375 kB / 0.5188 GB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.484e-05/0.2937, allocations: 75.28 kB / 0.5189 GB, free: 6.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.2937, allocations: 75.28 kB / 0.5189 GB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.899e-05/0.2938, allocations: 28.45 kB / 0.519 GB, free: 6.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.2938, allocations: 92.73 kB / 0.5191 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2938, allocations: 84.59 kB / 0.5191 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.2939, allocations: 154.7 kB / 0.5193 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.067e-05/0.2939, allocations: 80.59 kB / 0.5194 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.2939, allocations: 151.9 kB / 0.5195 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.294, allocations: 76.66 kB / 0.5196 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.294, allocations: 87.27 kB / 0.5197 GB, free: 5.75 MB / 382.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 6.73e-05/0.2941, allocations: 263.2 kB / 0.5199 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.2941, allocations: 108.9 kB / 0.52 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.2941, allocations: 109.4 kB / 0.5201 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.2942, allocations: 181.6 kB / 0.5203 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/0.2942, allocations: 180.3 kB / 0.5205 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.2942, allocations: 181.6 kB / 0.5206 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2944, allocations: 402.6 kB / 0.521 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.2944, allocations: 106.3 kB / 0.5211 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.2944, allocations: 101 kB / 0.5212 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.141e-05/0.2945, allocations: 181.6 kB / 0.5214 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.2945, allocations: 193.5 kB / 0.5216 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-05/0.2945, allocations: 177.6 kB / 0.5217 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-05/0.2945, allocations: 184.2 kB / 0.5219 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.2946, allocations: 303.9 kB / 0.5222 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.2946, allocations: 187.4 kB / 0.5224 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2947, allocations: 185.6 kB / 0.5226 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.2948, allocations: 106.3 kB / 0.5227 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.2948, allocations: 176.3 kB / 0.5228 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2948, allocations: 110.3 kB / 0.5229 GB, free: 2.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.928e-05/0.2948, allocations: 75.28 kB / 0.523 GB, free: 2.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2948, allocations: 0 / 0.523 GB, free: 2.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009197/0.2958, allocations: 151.3 kB / 0.5232 GB, free: 2.07 MB / 382.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.0009621/0.2967, allocations: 0.9681 MB / 0.5241 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.2968, allocations: 4 kB / 0.5241 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.2968, allocations: 0 / 0.5241 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.2968, allocations: 11.86 kB / 0.5241 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2971, allocations: 462.4 kB / 0.5246 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.2976, allocations: 225.9 kB / 0.5248 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2979, allocations: 0.6729 MB / 0.5254 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.004e-05/0.2979, allocations: 0 / 0.5254 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.298, allocations: 11.44 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.298, allocations: 0 / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.3344, allocations: 4.254 MB / 0.5296 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.415, allocations: 23.72 kB / 0.5296 GB, free: 11.38 MB / 398.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.197818607091904] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.488886440172791 8.515104808 8.218357456 Calling exit ...