Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001384/0.001384, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001389/0.001389, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2283/0.2283, allocations: 46.97 MB / 361.7 MB, free: 4.125 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.91 kB / 0.4969 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 66.03 MB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001607/0.3358, allocations: 499.9 kB / 0.5618 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.3381, allocations: 1.513 MB / 0.5633 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.3381, allocations: 0 / 0.5633 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.3381, allocations: 4 kB / 0.5633 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.3381, allocations: 0 / 0.5633 GB, free: 2.23 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0009958/0.3391, allocations: 259 kB / 0.5635 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.3391, allocations: 7.984 kB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3392, allocations: 4 kB / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.3392, allocations: 0 / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.896e-05/0.3392, allocations: 0 / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.3392, allocations: 0 / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.3403, allocations: 0.6947 MB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.3403, allocations: 0 / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.3404, allocations: 0 / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.3411, allocations: 0.6181 MB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3411, allocations: 0 / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3411, allocations: 0 / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3411, allocations: 0 / 0.5648 GB, free: 0.6562 MB / 398.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.0004429/0.3416, allocations: 295.8 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3416, allocations: 8.031 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.301e-05/0.3416, allocations: 192 / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.3416, allocations: 34.75 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.3417, allocations: 8.922 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.3418, allocations: 102.5 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3418, allocations: 384 / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.3418, allocations: 4.312 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.3419, allocations: 67.27 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3419, allocations: 0 / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3419, allocations: 0 / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3419, allocations: 3.984 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.3419, allocations: 33.7 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3421, allocations: 116.8 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.268e-05/0.3421, allocations: 48.31 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.3422, allocations: 38.5 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3422, allocations: 4 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.3422, allocations: 60.27 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3422, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001928/0.3424, allocations: 114.8 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3425, allocations: 77.11 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.107e-05/0.3425, allocations: 97.81 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3426, allocations: 25.7 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.3426, allocations: 84.14 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3426, allocations: 4.125 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.3426, allocations: 13.7 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3428, allocations: 314.8 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.3428, allocations: 29.64 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.3428, allocations: 25.7 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/0.3429, allocations: 64.27 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3429, allocations: 0 / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.752e-05/0.343, allocations: 93.03 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.343, allocations: 29.7 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.343, allocations: 4.031 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.343, allocations: 8 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.343, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.343, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.343, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.343, allocations: 0 / 0.5666 GB, free: 14.59 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 0.0001142/0.3432, allocations: 147.5 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.3432, allocations: 3.938 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.3432, allocations: 3 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3432, allocations: 0 / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3432, allocations: 4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.3432, allocations: 8 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.542e-05/0.3433, allocations: 112.8 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3433, allocations: 0 / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.3433, allocations: 3.938 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3433, allocations: 3.984 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3433, allocations: 4 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3433, allocations: 3.938 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3433, allocations: 3.984 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.3434, allocations: 116.5 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.3434, allocations: 3.938 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3434, allocations: 4.031 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.3435, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3435, allocations: 0 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3435, allocations: 4 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.3435, allocations: 80.23 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3435, allocations: 0 / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.3439, allocations: 119.9 kB / 0.5672 GB, free: 13.88 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.001056/0.345, allocations: 0.7272 MB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.3451, allocations: 106.8 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3451, allocations: 3.938 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.3451, allocations: 89.03 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3453, allocations: 14.94 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.3457, allocations: 148.3 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.3457, allocations: 55.36 kB / 0.5683 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.14e-06/0.3457, allocations: 0 / 0.5683 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.3458, allocations: 11.42 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3458, allocations: 0 / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.3721, allocations: 4.923 MB / 0.5731 GB, free: 7.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 6.469 kB / 0.5731 GB, free: 7.793 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.171381675056182] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.54956766194664 11.564476904 11.220482241 Calling exit ...