Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001385/0.001385, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.002138/0.002138, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.383/1.383, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2209/0.2209, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 75.88 kB / 0.4916 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 66.06 MB / 0.5561 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001475/0.1251, allocations: 0.4904 MB / 0.5566 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1272, allocations: 1.563 MB / 0.5581 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.1272, allocations: 0 / 0.5581 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.634e-06/0.1272, allocations: 4 kB / 0.5582 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.757e-06/0.1272, allocations: 0 / 0.5582 GB, free: 3.426 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007297/0.1279, allocations: 230.1 kB / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 3.356e-05/0.128, allocations: 0 / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.965e-05/0.128, allocations: 7.984 kB / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.057e-05/0.128, allocations: 0 / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.104e-05/0.128, allocations: 0 / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-06/0.128, allocations: 0 / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009186/0.1289, allocations: 0.7454 MB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-06/0.1289, allocations: 7.984 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.129, allocations: 0 / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.1296, allocations: 0.6434 MB / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1296, allocations: 3.938 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1296, allocations: 0 / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1296, allocations: 0 / 0.5597 GB, free: 1.793 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.0004385/0.1301, allocations: 373 kB / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1301, allocations: 12.03 kB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.277e-05/0.1301, allocations: 192 / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.1302, allocations: 34.75 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.873e-05/0.1302, allocations: 4.875 kB / 0.5602 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1303, allocations: 160.4 kB / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1303, allocations: 384 / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.1303, allocations: 384 / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.573e-05/0.1304, allocations: 41.62 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1304, allocations: 3.938 kB / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-06/0.1304, allocations: 0 / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-06/0.1304, allocations: 0 / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.1304, allocations: 8 kB / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.1305, allocations: 141.7 kB / 0.5605 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.1306, allocations: 14.58 kB / 0.5605 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.1306, allocations: 8.953 kB / 0.5605 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.1306, allocations: 3.938 kB / 0.5605 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.1307, allocations: 64.25 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1307, allocations: 0 / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.1308, allocations: 67.34 kB / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1308, allocations: 77.11 kB / 0.5607 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.1309, allocations: 93.81 kB / 0.5608 GB, free: 496 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1309, allocations: 25.7 kB / 0.5608 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.1309, allocations: 84.12 kB / 0.5609 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.131, allocations: 8 kB / 0.5609 GB, free: 368 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.131, allocations: 9.719 kB / 0.5609 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1311, allocations: 311 kB / 0.5612 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.1311, allocations: 11.94 kB / 0.5612 GB, free: 20 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.1311, allocations: 0 / 0.5612 GB, free: 20 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/0.1312, allocations: 64.2 kB / 0.5613 GB, free: 15.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1312, allocations: 0 / 0.5613 GB, free: 15.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.538e-05/0.1313, allocations: 67.33 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.1313, allocations: 33.7 kB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1313, allocations: 0 / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1313, allocations: 0 / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1313, allocations: 4.094 kB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1313, allocations: 0 / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.1313, allocations: 0 / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1313, allocations: 8 kB / 0.5614 GB, free: 15.81 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 8.672e-05/0.1314, allocations: 135.5 kB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.1314, allocations: 3.938 kB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-06/0.1314, allocations: 3.125 kB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.1314, allocations: 4 kB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1314, allocations: 0 / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1315, allocations: 4 kB / 0.5615 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1316, allocations: 145.7 kB / 0.5617 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1316, allocations: 3.938 kB / 0.5617 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-06/0.1316, allocations: 7.922 kB / 0.5617 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1316, allocations: 4 kB / 0.5617 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.1316, allocations: 0 / 0.5617 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1316, allocations: 3.938 kB / 0.5617 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1316, allocations: 0 / 0.5617 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.512e-05/0.1317, allocations: 90.84 kB / 0.5618 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.1317, allocations: 89.02 kB / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.1317, allocations: 0 / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.1317, allocations: 0 / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.1317, allocations: 0 / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1317, allocations: 4 kB / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.236e-05/0.1318, allocations: 75.28 kB / 0.562 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1318, allocations: 0 / 0.562 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1321, allocations: 119.9 kB / 0.5621 GB, free: 15.03 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.0009662/0.1331, allocations: 0.7113 MB / 0.5628 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.1332, allocations: 59.41 kB / 0.5628 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1332, allocations: 0 / 0.5628 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.1332, allocations: 59.41 kB / 0.5629 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1334, allocations: 3.984 kB / 0.5629 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.1337, allocations: 134.5 kB / 0.563 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.134, allocations: 0.673 MB / 0.5637 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.778e-06/0.134, allocations: 0 / 0.5637 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.134, allocations: 7.438 kB / 0.5637 GB, free: 13.26 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.134, allocations: 0 / 0.5637 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.153, allocations: 4.765 MB / 0.5683 GB, free: 8.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/7.937, allocations: 6.875 kB / 0.5683 GB, free: 8.555 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.735064881970175] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.059125719999429 8.085133507 7.951142508 Calling exit ...