Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001747/0.001747, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002171/0.002171, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.92 MB / 359.6 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 65.47 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001573/0.3441, allocations: 0.4963 MB / 0.5583 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.3474, allocations: 2.166 MB / 0.5604 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.3474, allocations: 0 / 0.5604 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.3475, allocations: 3.938 kB / 0.5604 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.3475, allocations: 0 / 0.5604 GB, free: 5.109 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.002045/0.3495, allocations: 0.7667 MB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.3496, allocations: 3.984 kB / 0.5611 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.3496, allocations: 0 / 0.5611 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.306e-05/0.3496, allocations: 0 / 0.5611 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.301e-05/0.3496, allocations: 4 kB / 0.5611 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-06/0.3496, allocations: 0 / 0.5611 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.3521, allocations: 1.712 MB / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.3521, allocations: 4 kB / 0.5628 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.3522, allocations: 0 / 0.5628 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.3539, allocations: 1.565 MB / 0.5643 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3539, allocations: 4 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3539, allocations: 0 / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3539, allocations: 0 / 0.5643 GB, free: 1.055 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.0006025/0.3545, allocations: 339.4 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3545, allocations: 12.02 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.584e-05/0.3545, allocations: 4.125 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.3546, allocations: 38.75 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.3546, allocations: 0.9375 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.3547, allocations: 102.5 kB / 0.5648 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3547, allocations: 8.125 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.3547, allocations: 0 / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.3548, allocations: 29.7 kB / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3548, allocations: 0 / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3548, allocations: 0 / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3548, allocations: 3.938 kB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.3548, allocations: 4 kB / 0.5649 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.3549, allocations: 124.8 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.355, allocations: 22.45 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.355, allocations: 8.953 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.355, allocations: 0 / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.3551, allocations: 56.27 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3551, allocations: 0 / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001894/0.3553, allocations: 79.28 kB / 0.5651 GB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.3553, allocations: 77.11 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.3554, allocations: 89.86 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3554, allocations: 25.7 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.3555, allocations: 84.14 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.3555, allocations: 0 / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3555, allocations: 9.719 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3557, allocations: 314.8 kB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.3557, allocations: 12.11 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.3557, allocations: 3.938 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.3557, allocations: 60.27 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3557, allocations: 0 / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.586e-05/0.3558, allocations: 67.27 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.3558, allocations: 37.69 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.3559, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3559, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3559, allocations: 4.094 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3559, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.3559, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3559, allocations: 4 kB / 0.5659 GB, free: 15.22 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.188e-05/0.356, allocations: 139.5 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.356, allocations: 0 / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-06/0.356, allocations: 7 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.356, allocations: 0 / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.356, allocations: 0 / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.356, allocations: 4 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.3561, allocations: 120.7 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3561, allocations: 0 / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3561, allocations: 7.938 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3561, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.3561, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.3561, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3561, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.3562, allocations: 102.7 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-06/0.3562, allocations: 3.938 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3562, allocations: 4 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.3562, allocations: 0 / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.3563, allocations: 8 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.3563, allocations: 3.984 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.3563, allocations: 75.28 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3563, allocations: 0 / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.357, allocations: 271.6 kB / 0.5666 GB, free: 14.41 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.001695/0.3587, allocations: 0.9401 MB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.3588, allocations: 63.34 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3588, allocations: 0 / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.3589, allocations: 55.41 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.359, allocations: 7.969 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.3595, allocations: 170.3 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3598, allocations: 0.6729 MB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.949e-06/0.3598, allocations: 0 / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.3598, allocations: 11.44 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3598, allocations: 0 / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.39, allocations: 8.368 MB / 0.5767 GB, free: 4.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 4.062 kB / 0.5767 GB, free: 4.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.385540811985265] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.640013741969597 11.668487338 11.310013175 Calling exit ...