Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.001236/0.001236, allocations: 117 kB / 18.49 MB, free: 4.566 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.00134/0.00134, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.421/1.421, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2114/0.2114, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 79.89 kB / 0.4916 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1277, allocations: 66.04 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001544/0.1292, allocations: 0.4946 MB / 0.5566 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1306, allocations: 0.7665 MB / 0.5574 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.1306, allocations: 0 / 0.5574 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.1306, allocations: 0 / 0.5574 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.1306, allocations: 0 / 0.5574 GB, free: 4.312 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.1323, allocations: 0.6681 MB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.1323, allocations: 4 kB / 0.558 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.1323, allocations: 0 / 0.558 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.1324, allocations: 0 / 0.558 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.541e-05/0.1324, allocations: 4 kB / 0.558 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-06/0.1324, allocations: 4 kB / 0.558 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.133, allocations: 415.2 kB / 0.5584 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-06/0.1331, allocations: 0 / 0.5584 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.1331, allocations: 0 / 0.5584 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1335, allocations: 347.2 kB / 0.5588 GB, free: 2.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1335, allocations: 3.938 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1335, allocations: 0 / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1335, allocations: 0 / 0.5588 GB, free: 2.883 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.0004107/0.1339, allocations: 392.7 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.134, allocations: 16.03 kB / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.134, allocations: 192 / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.134, allocations: 30.75 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.05e-05/0.134, allocations: 0.9375 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1341, allocations: 164.3 kB / 0.5593 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1341, allocations: 384 / 0.5593 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1342, allocations: 4.312 kB / 0.5593 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.1342, allocations: 34.02 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1342, allocations: 0 / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.1342, allocations: 4 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1343, allocations: 3.984 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.1343, allocations: 7.938 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.1344, allocations: 145.7 kB / 0.5595 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.1345, allocations: 14.58 kB / 0.5595 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.1345, allocations: 8.953 kB / 0.5595 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1345, allocations: 0 / 0.5595 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.1345, allocations: 64.2 kB / 0.5596 GB, free: 1.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1345, allocations: 0 / 0.5596 GB, free: 1.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.1347, allocations: 71.33 kB / 0.5597 GB, free: 1.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1348, allocations: 77.11 kB / 0.5598 GB, free: 1.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.418e-05/0.1348, allocations: 93.81 kB / 0.5598 GB, free: 1.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1348, allocations: 25.7 kB / 0.5599 GB, free: 1.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.1348, allocations: 80.14 kB / 0.5599 GB, free: 1.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1349, allocations: 4 kB / 0.5599 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.1349, allocations: 13.84 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.135, allocations: 314.8 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.135, allocations: 8 kB / 0.5603 GB, free: 1.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-06/0.135, allocations: 0 / 0.5603 GB, free: 1.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.1351, allocations: 64.27 kB / 0.5603 GB, free: 1.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1351, allocations: 0 / 0.5603 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.753e-05/0.1352, allocations: 63.33 kB / 0.5604 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.1352, allocations: 37.73 kB / 0.5604 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1352, allocations: 4 kB / 0.5604 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1352, allocations: 0 / 0.5604 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1352, allocations: 0 / 0.5604 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1352, allocations: 0 / 0.5604 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.1352, allocations: 3.984 kB / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1352, allocations: 4 kB / 0.5604 GB, free: 0.8789 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 8.569e-05/0.1353, allocations: 135.5 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.1353, allocations: 3.938 kB / 0.5606 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-06/0.1353, allocations: 7.109 kB / 0.5606 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1353, allocations: 8 kB / 0.5606 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1353, allocations: 3.938 kB / 0.5606 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1354, allocations: 0 / 0.5606 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1355, allocations: 141.7 kB / 0.5607 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1355, allocations: 0 / 0.5607 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.1355, allocations: 3.938 kB / 0.5607 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1355, allocations: 3.938 kB / 0.5607 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1355, allocations: 4 kB / 0.5607 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1355, allocations: 0 / 0.5607 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1355, allocations: 3.984 kB / 0.5607 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.818e-05/0.1356, allocations: 94.78 kB / 0.5608 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.1356, allocations: 77.11 kB / 0.5609 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1356, allocations: 7.922 kB / 0.5609 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.1356, allocations: 4 kB / 0.5609 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.1356, allocations: 0 / 0.5609 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1356, allocations: 4 kB / 0.5609 GB, free: 288 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.1357, allocations: 75.28 kB / 0.561 GB, free: 212 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1357, allocations: 4.031 kB / 0.561 GB, free: 208 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.136, allocations: 79.73 kB / 0.5611 GB, free: 128 kB / 414.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.0007933/0.1368, allocations: 0.7594 MB / 0.5618 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.1369, allocations: 63.41 kB / 0.5619 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1369, allocations: 0 / 0.5619 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.1369, allocations: 59.39 kB / 0.5619 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.1371, allocations: 7.938 kB / 0.5619 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.1374, allocations: 146.4 kB / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1377, allocations: 0.6728 MB / 0.5627 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.15e-06/0.1377, allocations: 0 / 0.5627 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1377, allocations: 7.438 kB / 0.5627 GB, free: 14.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1377, allocations: 4.125 kB / 0.5627 GB, free: 14.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.1557, allocations: 2.847 MB / 0.5655 GB, free: 11.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.052, allocations: 8 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.856580320978537] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.176325765962247 8.199692538 8.063319985 Calling exit ...