Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.184 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: 209.7 kB / 23.73 MB, free: 4.387 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2208/0.2208, allocations: 46.98 MB / 360.9 MB, free: 4.02 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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001594/0.3166, allocations: 0.4923 MB / 0.5611 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.3189, allocations: 1.548 MB / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.3189, allocations: 0 / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.3189, allocations: 0 / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.3189, allocations: 0 / 0.5626 GB, free: 2.152 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.3199, allocations: 287.2 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.32, allocations: 15.98 kB / 0.5629 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.32, allocations: 4 kB / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.32, allocations: 0 / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.119e-05/0.32, allocations: 8 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.32, allocations: 0 / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.3207, allocations: 423 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-06/0.3207, allocations: 0 / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3208, allocations: 3.938 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.3212, allocations: 309 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3212, allocations: 0 / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3212, allocations: 0 / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3212, allocations: 0 / 0.5636 GB, free: 1.125 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.0004239/0.3216, allocations: 299.7 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3217, allocations: 12.03 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3217, allocations: 30.75 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3218, allocations: 0.9375 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3219, allocations: 106.5 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3219, allocations: 384 / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3219, allocations: 4.375 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.322, allocations: 63.47 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.322, allocations: 0 / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.322, allocations: 4 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.322, allocations: 0 / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.3221, allocations: 29.7 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3222, allocations: 120.8 kB / 0.5642 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.3223, allocations: 40.28 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.3223, allocations: 34.66 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.3223, allocations: 4 kB / 0.5643 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.3224, allocations: 64.14 kB / 0.5643 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3224, allocations: 4 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002143/0.3226, allocations: 114.8 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.3227, allocations: 77.11 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.3227, allocations: 101.8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3228, allocations: 25.7 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.3228, allocations: 80.14 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3228, allocations: 3.984 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.3229, allocations: 13.72 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.323, allocations: 318.8 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.323, allocations: 25.7 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.3231, allocations: 33.83 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.562e-05/0.3231, allocations: 64.2 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3231, allocations: 4 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.848e-05/0.3232, allocations: 85.09 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.3233, allocations: 37.64 kB / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.3233, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3233, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3233, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3233, allocations: 0 / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.3233, allocations: 4.094 kB / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3233, allocations: 11.94 kB / 0.5653 GB, free: 15.05 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.0001027/0.3234, allocations: 135.5 kB / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.3234, allocations: 7.922 kB / 0.5654 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-06/0.3234, allocations: 7 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3234, allocations: 3.984 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3234, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3234, allocations: 3.938 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3236, allocations: 112.8 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3236, allocations: 4 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3236, allocations: 4 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3236, allocations: 3.938 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3236, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3236, allocations: 3.984 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3236, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.3237, allocations: 112.5 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.3237, allocations: 7.922 kB / 0.5657 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3237, allocations: 4 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.3237, allocations: 0 / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.3237, allocations: 0 / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3237, allocations: 4 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.3238, allocations: 79.31 kB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3238, allocations: 4 kB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3241, allocations: 59.8 kB / 0.5658 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.0008355/0.3249, allocations: 0.7498 MB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.3251, allocations: 118.8 kB / 0.5667 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3251, allocations: 0 / 0.5667 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.3251, allocations: 85.09 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.3252, allocations: 3.938 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.3256, allocations: 156.3 kB / 0.5669 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.3257, allocations: 59.36 kB / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.15e-06/0.3257, allocations: 0 / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.3257, allocations: 7.438 kB / 0.567 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3257, allocations: 0 / 0.567 GB, free: 13.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3542, allocations: 2.639 MB / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.48, allocations: 7.344 kB / 0.5696 GB, free: 10.58 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.31478143017739] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.585108482278883 11.608370922 11.282931043 Calling exit ...