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.001383/0.001383, allocations: 114.2 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.001617/0.001617, allocations: 213.2 kB / 23 MB, free: 5.004 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.476/1.476, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2324/0.2324, allocations: 44.25 MB / 330.3 MB, free: 9.621 MB / 270.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.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.002504/0.002504, allocations: 79.83 kB / 467.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1227, allocations: 61.04 MB / 0.5161 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001875/0.1246, allocations: 0.4987 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.127, allocations: 1.57 MB / 0.5181 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.127, allocations: 0 / 0.5181 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.127, allocations: 0 / 0.5181 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.127, allocations: 7.938 kB / 0.5182 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1281, allocations: 243.4 kB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.1281, allocations: 4 kB / 0.5184 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1282, allocations: 0 / 0.5184 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.1282, allocations: 7.984 kB / 0.5184 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.55e-05/0.1282, allocations: 0 / 0.5184 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.1282, allocations: 0 / 0.5184 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1294, allocations: 0.8038 MB / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.1294, allocations: 0 / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.1295, allocations: 0 / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008442/0.1303, allocations: 0.6554 MB / 0.5198 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1303, allocations: 0 / 0.5198 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1303, allocations: 0 / 0.5198 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1303, allocations: 0 / 0.5198 GB, free: 3.574 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.0004921/0.1308, allocations: 295.9 kB / 0.5201 GB, free: 3.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1308, allocations: 8.031 kB / 0.5201 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.1309, allocations: 38.67 kB / 0.5201 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1309, allocations: 4.938 kB / 0.5202 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.131, allocations: 114.5 kB / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.131, allocations: 384 / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.131, allocations: 384 / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.1311, allocations: 33.83 kB / 0.5203 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1311, allocations: 0 / 0.5203 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1311, allocations: 4 kB / 0.5203 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1311, allocations: 0 / 0.5203 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.1311, allocations: 0 / 0.5203 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1313, allocations: 124.8 kB / 0.5204 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.1313, allocations: 18.52 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.1314, allocations: 4.953 kB / 0.5204 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.1314, allocations: 4 kB / 0.5204 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/0.1314, allocations: 64.2 kB / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1314, allocations: 0 / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.1316, allocations: 67.39 kB / 0.5206 GB, free: 2.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1316, allocations: 77.11 kB / 0.5206 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.1317, allocations: 89.86 kB / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1317, allocations: 25.7 kB / 0.5208 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.1318, allocations: 84.08 kB / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1318, allocations: 0 / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1318, allocations: 17.84 kB / 0.5209 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.132, allocations: 314.8 kB / 0.5212 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.132, allocations: 0 / 0.5212 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.132, allocations: 7.984 kB / 0.5212 GB, free: 1.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.132, allocations: 56.27 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.132, allocations: 4 kB / 0.5212 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.182e-05/0.1321, allocations: 55.41 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.1321, allocations: 41.58 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1321, allocations: 4.094 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1322, allocations: 3.984 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.1322, allocations: 0 / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1322, allocations: 3.938 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.1322, allocations: 0 / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1322, allocations: 0 / 0.5213 GB, free: 1.797 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.0001001/0.1323, allocations: 139.5 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.1323, allocations: 3.938 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-06/0.1323, allocations: 3 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1323, allocations: 4 kB / 0.5215 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1323, allocations: 4 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1323, allocations: 0 / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1324, allocations: 124.6 kB / 0.5216 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1324, allocations: 0 / 0.5216 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1324, allocations: 0 / 0.5216 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1324, allocations: 3.938 kB / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1324, allocations: 4 kB / 0.5216 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1324, allocations: 0 / 0.5216 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1324, allocations: 4 kB / 0.5216 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1325, allocations: 98.81 kB / 0.5217 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.1325, allocations: 3.938 kB / 0.5217 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1326, allocations: 0 / 0.5217 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-06/0.1326, allocations: 3.938 kB / 0.5217 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.1326, allocations: 4 kB / 0.5217 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1326, allocations: 4 kB / 0.5217 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.1326, allocations: 75.28 kB / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1326, allocations: 32 / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.1331, allocations: 123.9 kB / 0.5219 GB, free: 1.125 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.001097/0.1342, allocations: 0.6995 MB / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.1343, allocations: 67.27 kB / 0.5226 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1343, allocations: 0 / 0.5226 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.1343, allocations: 55.41 kB / 0.5227 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1344, allocations: 1.094 kB / 0.5227 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.1348, allocations: 130.6 kB / 0.5228 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1352, allocations: 0.6729 MB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.239e-06/0.1352, allocations: 0 / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1352, allocations: 7.438 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1352, allocations: 0 / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.1652, allocations: 4.852 MB / 0.5282 GB, free: 10.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11, allocations: 0 / 0.5282 GB, free: 10.51 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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: 14.096681070979685] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.104199211811647 11.366538227 11.232402977 Calling exit ...