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.001792/0.001792, 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.001826/0.001826, allocations: 215.5 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.506/1.506, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2339/0.2339, allocations: 44.26 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.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.002335/0.002335, allocations: 72.52 kB / 467.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1278, allocations: 61.04 MB / 0.5161 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001814/0.1296, allocations: 0.4948 MB / 0.5166 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1321, allocations: 1.551 MB / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1321, allocations: 0 / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.1321, allocations: 0 / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.1321, allocations: 0 / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1331, allocations: 291.2 kB / 0.5184 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.921e-05/0.1332, allocations: 4 kB / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.1332, allocations: 0 / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.075e-05/0.1332, allocations: 3.938 kB / 0.5184 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.1332, allocations: 3.938 kB / 0.5184 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1332, allocations: 0 / 0.5184 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.1339, allocations: 423 kB / 0.5188 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.1339, allocations: 4 kB / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.134, allocations: 7.984 kB / 0.5188 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1344, allocations: 295.2 kB / 0.5191 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1344, allocations: 4 kB / 0.5191 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1344, allocations: 0 / 0.5191 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1344, allocations: 0 / 0.5191 GB, free: 4.133 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.0003818/0.1348, allocations: 291.8 kB / 0.5194 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1348, allocations: 8.031 kB / 0.5194 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.1349, allocations: 30.75 kB / 0.5194 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1349, allocations: 8.922 kB / 0.5194 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.135, allocations: 114.5 kB / 0.5196 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.135, allocations: 4.375 kB / 0.5196 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.135, allocations: 384 / 0.5196 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1351, allocations: 63.52 kB / 0.5196 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1351, allocations: 0 / 0.5196 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1351, allocations: 0 / 0.5196 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1351, allocations: 0 / 0.5196 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.1352, allocations: 37.58 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1353, allocations: 116.8 kB / 0.5198 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.847e-05/0.1354, allocations: 52.31 kB / 0.5198 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.1354, allocations: 30.56 kB / 0.5198 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1354, allocations: 0 / 0.5198 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/0.1355, allocations: 64.27 kB / 0.5199 GB, free: 3.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1355, allocations: 0 / 0.5199 GB, free: 3.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000234/0.1357, allocations: 122.7 kB / 0.52 GB, free: 3.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.1358, allocations: 77.11 kB / 0.5201 GB, free: 2.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.1359, allocations: 89.86 kB / 0.5202 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1359, allocations: 25.7 kB / 0.5202 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1359, allocations: 80.14 kB / 0.5203 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.136, allocations: 4.125 kB / 0.5203 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.136, allocations: 13.72 kB / 0.5203 GB, free: 2.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1361, allocations: 314.8 kB / 0.5206 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.1362, allocations: 33.7 kB / 0.5206 GB, free: 2.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.1362, allocations: 25.7 kB / 0.5207 GB, free: 2.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.1363, allocations: 60.27 kB / 0.5207 GB, free: 2.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1363, allocations: 3.938 kB / 0.5207 GB, free: 2.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.413e-05/0.1364, allocations: 93.09 kB / 0.5208 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.1364, allocations: 33.64 kB / 0.5208 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1364, allocations: 8.078 kB / 0.5208 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1364, allocations: 0 / 0.5208 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-06/0.1364, allocations: 4 kB / 0.5209 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1364, allocations: 0 / 0.5209 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.1364, allocations: 3.938 kB / 0.5209 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1364, allocations: 0 / 0.5209 GB, free: 2.059 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.0001122/0.1366, allocations: 135.5 kB / 0.521 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1366, allocations: 7.922 kB / 0.521 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-06/0.1366, allocations: 6.938 kB / 0.521 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1366, allocations: 0 / 0.521 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1366, allocations: 4 kB / 0.521 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1366, allocations: 0 / 0.521 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1367, allocations: 116.8 kB / 0.5211 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1367, allocations: 0 / 0.5211 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.1367, allocations: 0 / 0.5211 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1367, allocations: 7.938 kB / 0.5211 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1367, allocations: 0 / 0.5211 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1367, allocations: 3.984 kB / 0.5211 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1367, allocations: 7.938 kB / 0.5211 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1369, allocations: 116.5 kB / 0.5212 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.1369, allocations: 7.922 kB / 0.5213 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1369, allocations: 7.969 kB / 0.5213 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.1369, allocations: 0 / 0.5213 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.1369, allocations: 4 kB / 0.5213 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1369, allocations: 0 / 0.5213 GB, free: 1.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.1369, allocations: 75.28 kB / 0.5213 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1369, allocations: 0 / 0.5213 GB, free: 1.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1373, allocations: 63.8 kB / 0.5214 GB, free: 1.418 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.0008394/0.1381, allocations: 0.749 MB / 0.5221 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.1382, allocations: 106.8 kB / 0.5222 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1382, allocations: 0 / 0.5222 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.1383, allocations: 93.16 kB / 0.5223 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1384, allocations: 5.812 kB / 0.5223 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.1388, allocations: 164 kB / 0.5225 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.1388, allocations: 51.36 kB / 0.5225 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.374e-06/0.1388, allocations: 0 / 0.5225 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.1389, allocations: 11.44 kB / 0.5225 GB, free: 100 kB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1389, allocations: 3.938 kB / 0.5225 GB, free: 96 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.1692, allocations: 2.632 MB / 0.5251 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.16, allocations: 7.5 kB / 0.5251 GB, free: 13.45 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: 14.349318176973611] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.265422634780407 11.540477425 11.153425139 Calling exit ...