Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 114.8 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.84 kB / 0.4916 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1306, allocations: 65.98 MB / 0.556 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002015/0.1326, allocations: 0.4907 MB / 0.5565 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1359, allocations: 2.156 MB / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.136, allocations: 0 / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.136, allocations: 0 / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.136, allocations: 4 kB / 0.5586 GB, free: 3.191 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.002176/0.1381, allocations: 0.7202 MB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.1382, allocations: 4 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.1382, allocations: 0 / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.1383, allocations: 7.984 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.1383, allocations: 0 / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-06/0.1383, allocations: 0 / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.1406, allocations: 1.58 MB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.1406, allocations: 0 / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.1406, allocations: 3.984 kB / 0.5609 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.1424, allocations: 1.552 MB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1424, allocations: 3.984 kB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1424, allocations: 0 / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1425, allocations: 3.938 kB / 0.5624 GB, free: 15.32 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.0008286/0.1433, allocations: 420.5 kB / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1433, allocations: 12.03 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.454e-05/0.1433, allocations: 4.188 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.1434, allocations: 34.69 kB / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.1434, allocations: 0.9375 kB / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1435, allocations: 160.4 kB / 0.563 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1435, allocations: 4.125 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1435, allocations: 4 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.61e-05/0.1436, allocations: 33.62 kB / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1436, allocations: 0 / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1436, allocations: 4 kB / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1436, allocations: 0 / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.1437, allocations: 4 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.1438, allocations: 145.7 kB / 0.5632 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.1438, allocations: 30.48 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.1439, allocations: 4.859 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1439, allocations: 0 / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.1439, allocations: 64.25 kB / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1439, allocations: 0 / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.1441, allocations: 67.42 kB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1441, allocations: 81.05 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.1442, allocations: 89.86 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1442, allocations: 29.7 kB / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.1442, allocations: 80.14 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.1443, allocations: 0 / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.1443, allocations: 17.83 kB / 0.5636 GB, free: 13.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1444, allocations: 310.8 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.1444, allocations: 4 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.1444, allocations: 4 kB / 0.564 GB, free: 13.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.1445, allocations: 60.27 kB / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1445, allocations: 0 / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.804e-05/0.1446, allocations: 71.27 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.1446, allocations: 29.7 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1446, allocations: 4.094 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1446, allocations: 0 / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1446, allocations: 0 / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1446, allocations: 0 / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.1446, allocations: 4 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1446, allocations: 0 / 0.5641 GB, free: 13.29 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 9.748e-05/0.1447, allocations: 145.7 kB / 0.5643 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1447, allocations: 7.984 kB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-06/0.1447, allocations: 7.062 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1447, allocations: 4 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1448, allocations: 0 / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1448, allocations: 3.938 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1449, allocations: 145.6 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1449, allocations: 4 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.1449, allocations: 4 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1449, allocations: 0 / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1449, allocations: 3.984 kB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1449, allocations: 0 / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1449, allocations: 0 / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.145, allocations: 98.72 kB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.145, allocations: 85.08 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.145, allocations: 0 / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-06/0.145, allocations: 0 / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1451, allocations: 4 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1451, allocations: 0 / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.1451, allocations: 75.28 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1451, allocations: 0 / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009267/0.146, allocations: 283.6 kB / 0.5649 GB, free: 12.34 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.00176/0.1478, allocations: 0.9322 MB / 0.5659 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.1479, allocations: 63.33 kB / 0.5659 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1479, allocations: 0 / 0.5659 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.1479, allocations: 67.41 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.148, allocations: 0 / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.1486, allocations: 162.3 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1488, allocations: 0.669 MB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.771e-06/0.1488, allocations: 0 / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.1489, allocations: 11.44 kB / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1489, allocations: 0 / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.1744, allocations: 8.26 MB / 0.5749 GB, free: 2.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.436, allocations: 18.52 kB / 0.5749 GB, free: 2.125 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.255651495011989] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.565941824985202 8.592827872 8.445705382 Calling exit ...