Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002942/0.002942, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.69/1.69, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.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.2423/0.2423, allocations: 44.25 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 75.89 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 61.03 MB / 0.5161 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001738/0.1339, allocations: 0.5026 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1361, allocations: 1.52 MB / 0.5181 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.1361, allocations: 4 kB / 0.5181 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.1361, allocations: 0 / 0.5181 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.1361, allocations: 0 / 0.5181 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008836/0.137, allocations: 247.4 kB / 0.5183 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.31e-05/0.1371, allocations: 4 kB / 0.5183 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.1371, allocations: 4 kB / 0.5184 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1371, allocations: 4 kB / 0.5184 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.576e-05/0.1371, allocations: 0 / 0.5184 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.1371, allocations: 0 / 0.5184 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.1381, allocations: 0.6829 MB / 0.519 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.1381, allocations: 0 / 0.519 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.1381, allocations: 0 / 0.519 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.1388, allocations: 0.6241 MB / 0.5196 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1388, allocations: 0 / 0.5196 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1388, allocations: 0 / 0.5196 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1388, allocations: 3.938 kB / 0.5196 GB, free: 3.602 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.0003874/0.1392, allocations: 283.9 kB / 0.5199 GB, free: 3.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1392, allocations: 12.03 kB / 0.5199 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1392, allocations: 30.75 kB / 0.5199 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1393, allocations: 8.938 kB / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.1393, allocations: 102.5 kB / 0.5201 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1393, allocations: 4.359 kB / 0.5201 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.1394, allocations: 4.375 kB / 0.5201 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/0.1394, allocations: 55.53 kB / 0.5201 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1395, allocations: 3.938 kB / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1395, allocations: 4 kB / 0.5201 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1395, allocations: 0 / 0.5201 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.1395, allocations: 25.7 kB / 0.5201 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.1396, allocations: 124.7 kB / 0.5203 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.839e-05/0.1397, allocations: 48.27 kB / 0.5203 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.1397, allocations: 34.66 kB / 0.5203 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.1397, allocations: 0 / 0.5203 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.1398, allocations: 60.2 kB / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1398, allocations: 0 / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001815/0.1399, allocations: 126.7 kB / 0.5205 GB, free: 2.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.14, allocations: 77.11 kB / 0.5206 GB, free: 2.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.1401, allocations: 93.86 kB / 0.5207 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1401, allocations: 25.7 kB / 0.5207 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.1401, allocations: 80.14 kB / 0.5208 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1401, allocations: 4.125 kB / 0.5208 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1401, allocations: 13.72 kB / 0.5208 GB, free: 2.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1403, allocations: 314.8 kB / 0.5211 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.1403, allocations: 29.69 kB / 0.5211 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.1403, allocations: 25.7 kB / 0.5212 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.1404, allocations: 60.27 kB / 0.5212 GB, free: 1.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1404, allocations: 0 / 0.5212 GB, free: 1.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.585e-05/0.1405, allocations: 93.05 kB / 0.5213 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.1405, allocations: 41.62 kB / 0.5213 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1405, allocations: 4.094 kB / 0.5213 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1405, allocations: 0 / 0.5213 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1405, allocations: 0 / 0.5213 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1405, allocations: 0 / 0.5213 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.1405, allocations: 0 / 0.5213 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1405, allocations: 0 / 0.5213 GB, free: 1.551 MB / 398.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.231e-05/0.1406, allocations: 135.5 kB / 0.5215 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.1406, allocations: 3.938 kB / 0.5215 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.1407, allocations: 6.984 kB / 0.5215 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1407, allocations: 4 kB / 0.5215 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1407, allocations: 0 / 0.5215 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1407, allocations: 4 kB / 0.5215 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1408, allocations: 124.7 kB / 0.5216 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1408, allocations: 0 / 0.5216 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-06/0.1408, allocations: 4 kB / 0.5216 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1408, allocations: 7.938 kB / 0.5216 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1408, allocations: 0 / 0.5216 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1408, allocations: 0 / 0.5216 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1408, allocations: 3.938 kB / 0.5216 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1409, allocations: 120.5 kB / 0.5217 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.1409, allocations: 3.938 kB / 0.5217 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1409, allocations: 8.016 kB / 0.5218 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.1409, allocations: 7.938 kB / 0.5218 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.1409, allocations: 0 / 0.5218 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1409, allocations: 0 / 0.5218 GB, free: 1.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.141, allocations: 75.28 kB / 0.5218 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.141, allocations: 0 / 0.5218 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.1414, allocations: 115.9 kB / 0.5219 GB, free: 0.8516 MB / 398.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.001033/0.1424, allocations: 0.7413 MB / 0.5227 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1425, allocations: 110.8 kB / 0.5228 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1425, allocations: 0 / 0.5228 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.1426, allocations: 85.09 kB / 0.5229 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1427, allocations: 4 kB / 0.5229 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.1431, allocations: 156.3 kB / 0.523 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.1431, allocations: 51.36 kB / 0.5231 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.589e-06/0.1431, allocations: 0 / 0.5231 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.1432, allocations: 11.44 kB / 0.5231 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1432, allocations: 0 / 0.5231 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.1758, allocations: 5.257 MB / 0.5282 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.45, allocations: 3.438 kB / 0.5282 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.055013372097164] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.580953361932188 11.861539302 11.719649034 Calling exit ...