Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2268/0.2268, allocations: 46.89 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 79.88 kB / 0.4912 GB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 65.97 MB / 0.5556 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001612/0.1327, allocations: 0.4902 MB / 0.5561 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1348, allocations: 1.563 MB / 0.5576 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.1349, allocations: 0 / 0.5576 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1349, allocations: 0 / 0.5576 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.1349, allocations: 4 kB / 0.5576 GB, free: 4.387 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.1357, allocations: 227.2 kB / 0.5579 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.598e-05/0.1358, allocations: 7.984 kB / 0.5579 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.1358, allocations: 0 / 0.5579 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.1358, allocations: 3.984 kB / 0.5579 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.1358, allocations: 7.938 kB / 0.5579 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-06/0.1358, allocations: 0 / 0.5579 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009534/0.1368, allocations: 0.7415 MB / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.312e-06/0.1368, allocations: 0 / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.1368, allocations: 0 / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.1376, allocations: 0.6473 MB / 0.5592 GB, free: 2.758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1376, allocations: 0 / 0.5592 GB, free: 2.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1376, allocations: 7.938 kB / 0.5592 GB, free: 2.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1376, allocations: 0 / 0.5592 GB, free: 2.75 MB / 414.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.0004531/0.138, allocations: 365 kB / 0.5596 GB, free: 2.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1381, allocations: 11.97 kB / 0.5596 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1381, allocations: 30.75 kB / 0.5596 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.1381, allocations: 0.9375 kB / 0.5596 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1382, allocations: 164.4 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1383, allocations: 8.312 kB / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.1383, allocations: 4.375 kB / 0.5598 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.1384, allocations: 41.81 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1384, allocations: 0 / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.1384, allocations: 0 / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1384, allocations: 4 kB / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.1384, allocations: 0 / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.1385, allocations: 145.6 kB / 0.56 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.1386, allocations: 26.53 kB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.1386, allocations: 4.859 kB / 0.56 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.1386, allocations: 4 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.1387, allocations: 68.19 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1387, allocations: 0 / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.1388, allocations: 63.41 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1389, allocations: 77.11 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.255e-05/0.1389, allocations: 97.81 kB / 0.5603 GB, free: 1.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1389, allocations: 25.7 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.139, allocations: 88.25 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.139, allocations: 0 / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.139, allocations: 13.72 kB / 0.5604 GB, free: 1.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1391, allocations: 314.8 kB / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.1392, allocations: 0 / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.1392, allocations: 0 / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.1392, allocations: 64.2 kB / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1392, allocations: 0 / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.589e-05/0.1393, allocations: 75.39 kB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.1393, allocations: 33.64 kB / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1393, allocations: 0 / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1393, allocations: 0 / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1393, allocations: 0 / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1393, allocations: 0 / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.1394, allocations: 4 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1394, allocations: 0 / 0.5609 GB, free: 0.7695 MB / 414.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.104e-05/0.1394, allocations: 135.5 kB / 0.561 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.1395, allocations: 11.97 kB / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-06/0.1395, allocations: 3.125 kB / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-07/0.1395, allocations: 0 / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1395, allocations: 0 / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1395, allocations: 0 / 0.561 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1396, allocations: 145.7 kB / 0.5612 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1396, allocations: 4 kB / 0.5612 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.1396, allocations: 3.984 kB / 0.5612 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1396, allocations: 7.875 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1396, allocations: 4 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.1396, allocations: 0 / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1396, allocations: 4 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.1397, allocations: 90.78 kB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.1397, allocations: 85.03 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1397, allocations: 4 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.1397, allocations: 0 / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.1398, allocations: 4 kB / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1398, allocations: 0 / 0.5614 GB, free: 176 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.1398, allocations: 79.31 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1398, allocations: 0 / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.1402, allocations: 119.9 kB / 0.5616 GB, free: 15.98 MB / 430.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.0009495/0.1412, allocations: 0.6993 MB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.1413, allocations: 63.34 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1413, allocations: 4 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.1413, allocations: 51.47 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1414, allocations: 17.45 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.1417, allocations: 126.5 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.142, allocations: 0.669 MB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.052e-06/0.142, allocations: 0 / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.1421, allocations: 11.38 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1421, allocations: 4 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1689, allocations: 4.726 MB / 0.5678 GB, free: 9.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.946, allocations: 12.22 kB / 0.5678 GB, free: 9.543 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.814266200177372] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.019674080889672 8.037296971 7.896562599 Calling exit ...