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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001442/0.001442, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2252/0.2252, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.91 kB / 0.4961 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 66.03 MB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001644/0.3519, allocations: 493.7 kB / 0.561 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3536, allocations: 1.52 MB / 0.5625 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.3536, allocations: 0 / 0.5625 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3536, allocations: 3.938 kB / 0.5625 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.3536, allocations: 0 / 0.5625 GB, free: 32 MB / 446.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.0008807/0.3545, allocations: 259.6 kB / 0.5628 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.3545, allocations: 3.125 kB / 0.5628 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.3546, allocations: 0.8438 kB / 0.5628 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.3546, allocations: 0 / 0.5628 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.3546, allocations: 0.5 kB / 0.5628 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.3546, allocations: 0 / 0.5628 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007728/0.3554, allocations: 0.6893 MB / 0.5635 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.3554, allocations: 1.812 kB / 0.5635 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.3554, allocations: 6.641 kB / 0.5635 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.356, allocations: 0.6135 MB / 0.5641 GB, free: 31.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.356, allocations: 0.7031 kB / 0.5641 GB, free: 31.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.356, allocations: 0 / 0.5641 GB, free: 31.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.356, allocations: 0.5312 kB / 0.5641 GB, free: 31.71 MB / 446.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.0003302/0.3563, allocations: 295.6 kB / 0.5643 GB, free: 31.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3563, allocations: 14.91 kB / 0.5644 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.3564, allocations: 31.45 kB / 0.5644 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3564, allocations: 0.9375 kB / 0.5644 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.328e-05/0.3564, allocations: 107.2 kB / 0.5645 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3565, allocations: 7.344 kB / 0.5645 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.3565, allocations: 1.031 kB / 0.5645 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.3565, allocations: 67.83 kB / 0.5646 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3566, allocations: 2.688 kB / 0.5646 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.3566, allocations: 0 / 0.5646 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3566, allocations: 0 / 0.5646 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.3566, allocations: 29.66 kB / 0.5646 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.908e-05/0.3567, allocations: 117.9 kB / 0.5647 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.396e-05/0.3567, allocations: 44.28 kB / 0.5647 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.3567, allocations: 34.66 kB / 0.5648 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.3567, allocations: 5.438 kB / 0.5648 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3568, allocations: 64.23 kB / 0.5648 GB, free: 30.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3568, allocations: 0 / 0.5648 GB, free: 30.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.3569, allocations: 112 kB / 0.565 GB, free: 30.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.357, allocations: 84.81 kB / 0.565 GB, free: 30.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.224e-05/0.357, allocations: 94.66 kB / 0.5651 GB, free: 30.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.357, allocations: 25.7 kB / 0.5651 GB, free: 30.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.939e-06/0.357, allocations: 81.36 kB / 0.5652 GB, free: 30.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.357, allocations: 0.7969 kB / 0.5652 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.357, allocations: 12.69 kB / 0.5652 GB, free: 30.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.3571, allocations: 311.8 kB / 0.5655 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.3571, allocations: 31.41 kB / 0.5656 GB, free: 30 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.3571, allocations: 34.25 kB / 0.5656 GB, free: 29.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.3571, allocations: 59.75 kB / 0.5657 GB, free: 29.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3572, allocations: 3.188 kB / 0.5657 GB, free: 29.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.553e-05/0.3572, allocations: 88.56 kB / 0.5657 GB, free: 29.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3572, allocations: 40.92 kB / 0.5658 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3572, allocations: 0 / 0.5658 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3572, allocations: 0 / 0.5658 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.3573, allocations: 0.7031 kB / 0.5658 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3573, allocations: 0 / 0.5658 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.3573, allocations: 7.062 kB / 0.5658 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3573, allocations: 4 kB / 0.5658 GB, free: 29.75 MB / 446.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 5.04e-05/0.3573, allocations: 138.1 kB / 0.5659 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.3573, allocations: 4.547 kB / 0.5659 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-06/0.3573, allocations: 7.453 kB / 0.5659 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3573, allocations: 0 / 0.5659 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3573, allocations: 0 / 0.5659 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3574, allocations: 3.625 kB / 0.5659 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.751e-05/0.3574, allocations: 117.8 kB / 0.5661 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3574, allocations: 0 / 0.5661 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.3574, allocations: 4.359 kB / 0.5661 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3574, allocations: 7.875 kB / 0.5661 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3574, allocations: 0 / 0.5661 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3574, allocations: 0 / 0.5661 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3574, allocations: 0 / 0.5661 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.093e-05/0.3575, allocations: 116.2 kB / 0.5662 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.3575, allocations: 8.641 kB / 0.5662 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.3575, allocations: 4.469 kB / 0.5662 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.3575, allocations: 0 / 0.5662 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.3575, allocations: 3.25 kB / 0.5662 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.3575, allocations: 3 kB / 0.5662 GB, free: 29.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.164e-05/0.3575, allocations: 76.3 kB / 0.5663 GB, free: 29.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3575, allocations: 0 / 0.5663 GB, free: 29.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.3579, allocations: 125.6 kB / 0.5664 GB, free: 29.21 MB / 446.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.0007978/0.3587, allocations: 0.7404 MB / 0.5671 GB, free: 28.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.3588, allocations: 114.8 kB / 0.5672 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3588, allocations: 0 / 0.5672 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.3589, allocations: 93.72 kB / 0.5673 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.359, allocations: 0 / 0.5673 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.3593, allocations: 152.9 kB / 0.5675 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.689e-05/0.3593, allocations: 55.62 kB / 0.5675 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.019e-06/0.3593, allocations: 0 / 0.5675 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.3593, allocations: 7.438 kB / 0.5675 GB, free: 28.04 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3593, allocations: 0 / 0.5675 GB, free: 28.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3889, allocations: 5.281 MB / 0.5727 GB, free: 27.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.25, allocations: 7.812 kB / 0.5727 GB, free: 27.05 MB / 446.1 MB " [Timeout remaining time 649] (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.070648241991876] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.356755802000407 11.373493951 11.013625532 Calling exit ...