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.001294/0.001294, allocations: 118.6 kB / 18.5 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.001413/0.001413, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.464/1.464, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.231/0.231, 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.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 74.88 kB / 0.4912 GB, free: 27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1216, allocations: 65.99 MB / 0.5557 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001684/0.1233, allocations: 497 kB / 0.5561 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1256, allocations: 1.571 MB / 0.5577 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1256, allocations: 0 / 0.5577 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.1256, allocations: 3.938 kB / 0.5577 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.1256, allocations: 4 kB / 0.5577 GB, free: 7.012 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.0009462/0.1266, allocations: 234.1 kB / 0.5579 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.1266, allocations: 3.938 kB / 0.5579 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.1267, allocations: 0 / 0.5579 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.1267, allocations: 0 / 0.5579 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.861e-05/0.1267, allocations: 4 kB / 0.5579 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.1267, allocations: 0 / 0.5579 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009986/0.1277, allocations: 0.7454 MB / 0.5586 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.1277, allocations: 0 / 0.5586 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.1277, allocations: 4 kB / 0.5586 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.1285, allocations: 0.6475 MB / 0.5593 GB, free: 5.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1285, allocations: 0 / 0.5593 GB, free: 5.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1285, allocations: 0 / 0.5593 GB, free: 5.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1285, allocations: 0 / 0.5593 GB, free: 5.379 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.0005153/0.129, allocations: 369 kB / 0.5596 GB, free: 4.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1291, allocations: 8.031 kB / 0.5596 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.1291, allocations: 30.75 kB / 0.5597 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.1291, allocations: 0.9375 kB / 0.5597 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1293, allocations: 160.4 kB / 0.5598 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1293, allocations: 8.375 kB / 0.5598 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.1293, allocations: 384 / 0.5598 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1294, allocations: 37.8 kB / 0.5599 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1294, allocations: 3.984 kB / 0.5599 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1294, allocations: 4 kB / 0.5599 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1294, allocations: 3.938 kB / 0.5599 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.1294, allocations: 7.938 kB / 0.5599 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.1296, allocations: 141.7 kB / 0.56 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.1297, allocations: 26.61 kB / 0.56 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.1297, allocations: 8.844 kB / 0.5601 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.1297, allocations: 0 / 0.5601 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.1297, allocations: 60.2 kB / 0.5601 GB, free: 4.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1297, allocations: 0 / 0.5601 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.1299, allocations: 67.41 kB / 0.5602 GB, free: 4.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.13, allocations: 77.11 kB / 0.5602 GB, free: 4.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.1301, allocations: 105.9 kB / 0.5604 GB, free: 4.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1301, allocations: 25.7 kB / 0.5604 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1301, allocations: 80.14 kB / 0.5605 GB, free: 3.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.1301, allocations: 0 / 0.5605 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1302, allocations: 13.72 kB / 0.5605 GB, free: 3.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1303, allocations: 314.8 kB / 0.5608 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.1303, allocations: 0 / 0.5608 GB, free: 3.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.1303, allocations: 0 / 0.5608 GB, free: 3.609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.1304, allocations: 64.33 kB / 0.5608 GB, free: 3.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1304, allocations: 0 / 0.5608 GB, free: 3.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.779e-05/0.1305, allocations: 71.33 kB / 0.5609 GB, free: 3.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1305, allocations: 33.64 kB / 0.5609 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1305, allocations: 0 / 0.5609 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1305, allocations: 0 / 0.5609 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1305, allocations: 0 / 0.5609 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1305, allocations: 7.938 kB / 0.5609 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1305, allocations: 0 / 0.5609 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1306, allocations: 0 / 0.5609 GB, free: 3.402 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.797e-05/0.1306, allocations: 139.6 kB / 0.5611 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.1307, allocations: 7.938 kB / 0.5611 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-06/0.1307, allocations: 3.125 kB / 0.5611 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1307, allocations: 0 / 0.5611 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1307, allocations: 0 / 0.5611 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1307, allocations: 0 / 0.5611 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1308, allocations: 145.7 kB / 0.5612 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1308, allocations: 3.984 kB / 0.5612 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.1308, allocations: 4 kB / 0.5612 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1308, allocations: 7.938 kB / 0.5612 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1308, allocations: 0 / 0.5612 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.1308, allocations: 0 / 0.5612 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1308, allocations: 0 / 0.5612 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.1309, allocations: 94.77 kB / 0.5613 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.131, allocations: 88.98 kB / 0.5614 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.131, allocations: 0 / 0.5614 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.038e-05/0.131, allocations: 4 kB / 0.5614 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.131, allocations: 4.031 kB / 0.5614 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.131, allocations: 0 / 0.5614 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.619e-05/0.131, allocations: 75.28 kB / 0.5615 GB, free: 2.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.131, allocations: 0 / 0.5615 GB, free: 2.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.1315, allocations: 123.8 kB / 0.5616 GB, free: 2.609 MB / 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.001008/0.1325, allocations: 0.7066 MB / 0.5623 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.888e-05/0.1326, allocations: 59.41 kB / 0.5624 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1326, allocations: 4.062 kB / 0.5624 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.1326, allocations: 59.39 kB / 0.5624 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1327, allocations: 4 kB / 0.5624 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.1331, allocations: 130.5 kB / 0.5625 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1334, allocations: 0.669 MB / 0.5632 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.149e-06/0.1334, allocations: 0 / 0.5632 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.1334, allocations: 7.438 kB / 0.5632 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1334, allocations: 0 / 0.5632 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1601, allocations: 4.743 MB / 0.5678 GB, free: 12.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.363, allocations: 3.938 kB / 0.5678 GB, free: 12.16 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: 11.224872623570263] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.433889310341328 8.454639263 8.323024341 Calling exit ...