Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001341/0.001341, allocations: 118.6 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.001453/0.001453, allocations: 218.6 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.461/1.461, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 79.86 kB / 0.4912 GB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 65.99 MB / 0.5557 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001525/0.1238, allocations: 0.4908 MB / 0.5562 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1268, allocations: 2.159 MB / 0.5583 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.1269, allocations: 0 / 0.5583 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1269, allocations: 4 kB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.1269, allocations: 0 / 0.5583 GB, free: 3.559 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.1289, allocations: 0.7176 MB / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.1289, allocations: 0 / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.129, allocations: 11.91 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.129, allocations: 7.984 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.129, allocations: 4 kB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-06/0.129, allocations: 0 / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.1311, allocations: 1.572 MB / 0.5605 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.1312, allocations: 3.984 kB / 0.5605 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.1312, allocations: 4 kB / 0.5605 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1328, allocations: 1.548 MB / 0.562 GB, free: 15.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1328, allocations: 8 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1328, allocations: 0 / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1328, allocations: 0 / 0.562 GB, free: 15.68 MB / 430.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.0006077/0.1334, allocations: 416.5 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1334, allocations: 8.031 kB / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1335, allocations: 30.75 kB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.1335, allocations: 0.9375 kB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1336, allocations: 168.4 kB / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1336, allocations: 384 / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1336, allocations: 4.312 kB / 0.5627 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1337, allocations: 45.77 kB / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1337, allocations: 4 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1338, allocations: 0 / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1338, allocations: 0 / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.1338, allocations: 0 / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1339, allocations: 145.7 kB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/0.134, allocations: 22.55 kB / 0.5629 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.134, allocations: 16.8 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-06/0.134, allocations: 0 / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.1341, allocations: 68.27 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1341, allocations: 0 / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001936/0.1342, allocations: 67.33 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.1344, allocations: 81.11 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.1344, allocations: 89.86 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1344, allocations: 25.83 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1345, allocations: 84.14 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.1345, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1345, allocations: 17.72 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1347, allocations: 310.8 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.1347, allocations: 0 / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.1347, allocations: 3.938 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.1348, allocations: 64.25 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1348, allocations: 4.062 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.536e-05/0.1349, allocations: 63.41 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.1349, allocations: 33.64 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1349, allocations: 0 / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1349, allocations: 0 / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-06/0.135, allocations: 7.984 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.135, allocations: 0 / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.135, allocations: 4 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.135, allocations: 0 / 0.5638 GB, free: 13.65 MB / 430.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.0001068/0.1351, allocations: 139.6 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1351, allocations: 7.875 kB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.1351, allocations: 3.125 kB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1351, allocations: 0 / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1351, allocations: 3.938 kB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1351, allocations: 0 / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1353, allocations: 153.7 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1353, allocations: 0 / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1353, allocations: 0 / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1353, allocations: 3.938 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1353, allocations: 4 kB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1353, allocations: 0 / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1353, allocations: 0 / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1355, allocations: 90.83 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.1356, allocations: 81.05 kB / 0.5642 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1356, allocations: 0 / 0.5642 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.1356, allocations: 4 kB / 0.5642 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.1356, allocations: 3.938 kB / 0.5642 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1356, allocations: 4.031 kB / 0.5642 GB, free: 13.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.578e-05/0.1356, allocations: 75.28 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1356, allocations: 3.938 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001005/0.1367, allocations: 275.6 kB / 0.5646 GB, free: 12.71 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.001704/0.1384, allocations: 0.9449 MB / 0.5655 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1385, allocations: 55.41 kB / 0.5655 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1385, allocations: 3.938 kB / 0.5656 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.1385, allocations: 59.34 kB / 0.5656 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1386, allocations: 1.875 kB / 0.5656 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.1392, allocations: 166.3 kB / 0.5658 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1396, allocations: 0.6729 MB / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.1396, allocations: 0 / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.1396, allocations: 15.56 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1396, allocations: 0 / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.173, allocations: 8.214 MB / 0.5745 GB, free: 2.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.515, allocations: 0 / 0.5745 GB, free: 2.516 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.44820023002103] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.584895194973797 8.601487670000001 8.465557335 Calling exit ...