Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.00136/0.00136, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001449/0.001449, allocations: 211.8 kB / 23 MB, free: 5.008 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.444/1.444, allocations: 207.6 MB / 233.8 MB, free: 10 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.2265/0.2265, allocations: 44.24 MB / 330.3 MB, free: 9.617 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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.002242/0.002242, allocations: 75.89 kB / 467.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 61.05 MB / 0.5161 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001843/0.1369, allocations: 0.491 MB / 0.5166 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1394, allocations: 1.621 MB / 0.5182 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.1394, allocations: 0 / 0.5182 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1394, allocations: 0 / 0.5182 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.1394, allocations: 0 / 0.5182 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1404, allocations: 295.2 kB / 0.5185 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.81e-05/0.1405, allocations: 0 / 0.5185 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.1405, allocations: 0 / 0.5185 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.1406, allocations: 7.984 kB / 0.5185 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.944e-05/0.1406, allocations: 4 kB / 0.5185 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.1406, allocations: 0 / 0.5185 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.1414, allocations: 0.5925 MB / 0.5191 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.1415, allocations: 0 / 0.5191 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1415, allocations: 3.984 kB / 0.5191 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.1419, allocations: 331.1 kB / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1419, allocations: 0 / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.142, allocations: 8 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.142, allocations: 0 / 0.5194 GB, free: 4.008 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.0003644/0.1423, allocations: 287.8 kB / 0.5197 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1424, allocations: 12.03 kB / 0.5197 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1424, allocations: 42.69 kB / 0.5197 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.1424, allocations: 0.9375 kB / 0.5197 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/0.1425, allocations: 102.5 kB / 0.5198 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1425, allocations: 4.375 kB / 0.5198 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.1425, allocations: 384 / 0.5198 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.1426, allocations: 41.8 kB / 0.5199 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1426, allocations: 0 / 0.5199 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.1427, allocations: 4 kB / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1427, allocations: 0 / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.1427, allocations: 0 / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1428, allocations: 116.8 kB / 0.52 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.1429, allocations: 22.55 kB / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1429, allocations: 8.844 kB / 0.52 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.1429, allocations: 4 kB / 0.52 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.143, allocations: 64.27 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.143, allocations: 3.938 kB / 0.5201 GB, free: 3.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001946/0.1432, allocations: 63.41 kB / 0.5201 GB, free: 3.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1432, allocations: 81.05 kB / 0.5202 GB, free: 2.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.1433, allocations: 93.84 kB / 0.5203 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1433, allocations: 25.7 kB / 0.5203 GB, free: 2.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.1433, allocations: 84.27 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1434, allocations: 0 / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.1434, allocations: 13.72 kB / 0.5204 GB, free: 2.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1435, allocations: 310.8 kB / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1435, allocations: 0 / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.1436, allocations: 0 / 0.5207 GB, free: 2.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.1436, allocations: 68.2 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1436, allocations: 0 / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.269e-05/0.1437, allocations: 67.45 kB / 0.5208 GB, free: 2.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.1437, allocations: 37.58 kB / 0.5209 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1437, allocations: 4 kB / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1437, allocations: 0 / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1437, allocations: 0 / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1437, allocations: 0 / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1438, allocations: 3.938 kB / 0.5209 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1438, allocations: 0 / 0.5209 GB, free: 2.23 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 0.0001124/0.1439, allocations: 143.6 kB / 0.521 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.1439, allocations: 7.938 kB / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.1439, allocations: 3 kB / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1439, allocations: 0 / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1439, allocations: 0 / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1439, allocations: 4 kB / 0.521 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.144, allocations: 112.8 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.144, allocations: 3.984 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.144, allocations: 0 / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.144, allocations: 3.938 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.144, allocations: 4 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.144, allocations: 8 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.144, allocations: 0 / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1442, allocations: 90.77 kB / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.1442, allocations: 7.938 kB / 0.5213 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1442, allocations: 3.938 kB / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-06/0.1442, allocations: 0 / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.1442, allocations: 0 / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1442, allocations: 8.031 kB / 0.5213 GB, free: 1.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.1442, allocations: 75.28 kB / 0.5213 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1442, allocations: 0 / 0.5213 GB, free: 1.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1445, allocations: 67.8 kB / 0.5214 GB, free: 1.617 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.000793/0.1453, allocations: 0.7189 MB / 0.5221 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1454, allocations: 63.34 kB / 0.5222 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1454, allocations: 4.062 kB / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.1455, allocations: 55.41 kB / 0.5222 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1456, allocations: 5.031 kB / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.1459, allocations: 134.4 kB / 0.5224 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1463, allocations: 0.6729 MB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.221e-06/0.1463, allocations: 0 / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.1463, allocations: 7.438 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1463, allocations: 0 / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.176, allocations: 2.221 MB / 0.5252 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.84, allocations: 3.984 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.894147180952132] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 10.947613385971636 11.181774977 10.820491298 Calling exit ...