Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001355/0.001355, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001615/0.001615, allocations: 219 kB / 21.46 MB, free: 1.586 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.467/1.467, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.212/0.212, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",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.001888/0.001888, allocations: 67.89 kB / 0.4885 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1256, allocations: 65.42 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001695/0.1273, allocations: 490.9 kB / 0.5529 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1295, allocations: 1.579 MB / 0.5544 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1296, allocations: 0 / 0.5544 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1296, allocations: 0 / 0.5544 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1296, allocations: 0 / 0.5544 GB, free: 8.043 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0008502/0.1304, allocations: 227.4 kB / 0.5547 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.1305, allocations: 7.938 kB / 0.5547 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.1305, allocations: 4 kB / 0.5547 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.1305, allocations: 0 / 0.5547 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.746e-05/0.1305, allocations: 3.984 kB / 0.5547 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-06/0.1306, allocations: 0 / 0.5547 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.1315, allocations: 0.7454 MB / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.1316, allocations: 0 / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.1316, allocations: 3.938 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008031/0.1324, allocations: 0.6476 MB / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1324, allocations: 0 / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1324, allocations: 0 / 0.556 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1324, allocations: 0 / 0.556 GB, free: 6.406 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.0004473/0.1328, allocations: 367 kB / 0.5564 GB, free: 5.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1329, allocations: 12.03 kB / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.059e-05/0.1329, allocations: 192 / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.1329, allocations: 30.75 kB / 0.5564 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1329, allocations: 4.938 kB / 0.5564 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.133, allocations: 168.4 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1331, allocations: 4.312 kB / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1331, allocations: 4.375 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.1332, allocations: 33.64 kB / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1332, allocations: 0 / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.1332, allocations: 0 / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1332, allocations: 0 / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.1332, allocations: 4 kB / 0.5566 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.1333, allocations: 145.7 kB / 0.5568 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.1334, allocations: 26.61 kB / 0.5568 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.1334, allocations: 8.859 kB / 0.5568 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1334, allocations: 3.938 kB / 0.5568 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.1335, allocations: 60.27 kB / 0.5569 GB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1335, allocations: 0 / 0.5569 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.1336, allocations: 63.39 kB / 0.5569 GB, free: 5.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1337, allocations: 77.23 kB / 0.557 GB, free: 5.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.1337, allocations: 105.8 kB / 0.5571 GB, free: 5.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1337, allocations: 25.7 kB / 0.5571 GB, free: 5.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1338, allocations: 84.14 kB / 0.5572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1338, allocations: 0 / 0.5572 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1338, allocations: 9.719 kB / 0.5572 GB, free: 4.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1339, allocations: 310.8 kB / 0.5575 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1339, allocations: 7.938 kB / 0.5575 GB, free: 4.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.1339, allocations: 0 / 0.5575 GB, free: 4.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.134, allocations: 72.31 kB / 0.5576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.134, allocations: 0 / 0.5576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.119e-05/0.1341, allocations: 59.34 kB / 0.5576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.1341, allocations: 33.7 kB / 0.5577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1341, allocations: 0 / 0.5577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1341, allocations: 0 / 0.5577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1341, allocations: 3.938 kB / 0.5577 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1341, allocations: 7.969 kB / 0.5577 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.1341, allocations: 0 / 0.5577 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1341, allocations: 8.031 kB / 0.5577 GB, free: 4.422 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 8.47e-05/0.1342, allocations: 137.7 kB / 0.5578 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.1342, allocations: 3.938 kB / 0.5578 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-06/0.1342, allocations: 7.125 kB / 0.5578 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1342, allocations: 0 / 0.5578 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1343, allocations: 0 / 0.5578 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1343, allocations: 0 / 0.5578 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1344, allocations: 149.7 kB / 0.558 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1344, allocations: 0 / 0.558 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/0.1344, allocations: 7.938 kB / 0.558 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1344, allocations: 4 kB / 0.558 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1344, allocations: 0 / 0.558 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1344, allocations: 0 / 0.558 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1344, allocations: 0 / 0.558 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.1345, allocations: 94.81 kB / 0.5581 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1345, allocations: 81.05 kB / 0.5582 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.1345, allocations: 0 / 0.5582 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.1345, allocations: 4.031 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.1345, allocations: 0 / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1345, allocations: 7.938 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.1346, allocations: 75.28 kB / 0.5582 GB, free: 3.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1346, allocations: 0 / 0.5582 GB, free: 3.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004403/0.135, allocations: 123.8 kB / 0.5584 GB, free: 3.637 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.001029/0.1361, allocations: 0.7037 MB / 0.559 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1362, allocations: 71.42 kB / 0.5591 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1362, allocations: 0 / 0.5591 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.1362, allocations: 59.34 kB / 0.5592 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.1363, allocations: 7.938 kB / 0.5592 GB, free: 2.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1368, allocations: 122.6 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1371, allocations: 0.669 MB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.1371, allocations: 4 kB / 0.56 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.1371, allocations: 7.438 kB / 0.56 GB, free: 1.875 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1371, allocations: 4.125 kB / 0.56 GB, free: 1.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1572, allocations: 4.767 MB / 0.5646 GB, free: 13.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.257, allocations: 12 kB / 0.5646 GB, free: 13.17 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.132628232997376] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.378591844986659 8.395259133 8.259909618 Calling exit ...