Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001258/0.001258, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001358/0.001358, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2159/0.2159, allocations: 44.92 MB / 359.6 MB, free: 6.312 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",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.002006/0.002006, allocations: 67.89 kB / 0.4938 GB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 65.47 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001727/0.3073, allocations: 0.4917 MB / 0.5583 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.3104, allocations: 2.061 MB / 0.5603 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-06/0.3104, allocations: 3.938 kB / 0.5603 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-06/0.3104, allocations: 0 / 0.5603 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.3104, allocations: 4 kB / 0.5603 GB, free: 5.219 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3121, allocations: 0.5526 MB / 0.5608 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.99e-05/0.3121, allocations: 11.92 kB / 0.5608 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.3121, allocations: 7.984 kB / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-06/0.3121, allocations: 0 / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-06/0.3121, allocations: 0 / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.3121, allocations: 0 / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.3137, allocations: 1.127 MB / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-06/0.3138, allocations: 0 / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.3138, allocations: 0 / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009895/0.3148, allocations: 0.8397 MB / 0.5628 GB, free: 2.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3148, allocations: 4 kB / 0.5628 GB, free: 2.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3148, allocations: 4 kB / 0.5628 GB, free: 2.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3148, allocations: 3.984 kB / 0.5628 GB, free: 2.668 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003492/0.3151, allocations: 301.7 kB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3152, allocations: 12.03 kB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.418e-05/0.3152, allocations: 75.47 kB / 0.5631 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/0.3153, allocations: 106 kB / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.3153, allocations: 76.22 kB / 0.5633 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3154, allocations: 185.8 kB / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.3155, allocations: 158.9 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.3156, allocations: 150.9 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.3156, allocations: 108.9 kB / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.3157, allocations: 75.28 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.3157, allocations: 154.6 kB / 0.5641 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/0.3158, allocations: 154.5 kB / 0.5643 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.792e-05/0.3159, allocations: 150.6 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.3161, allocations: 421 kB / 0.5648 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.3162, allocations: 173.1 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.3163, allocations: 80.14 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3163, allocations: 79.27 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.3164, allocations: 113.8 kB / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.3164, allocations: 4 kB / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.433e-05/0.3165, allocations: 25.7 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.3166, allocations: 156.4 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.3166, allocations: 93.8 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3166, allocations: 25.7 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.3167, allocations: 80.14 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.3167, allocations: 0 / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.3167, allocations: 17.7 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3168, allocations: 310.8 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.3168, allocations: 0 / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.3168, allocations: 0 / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.3169, allocations: 79.31 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.472e-05/0.3169, allocations: 79.22 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.617e-05/0.317, allocations: 33.64 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.317, allocations: 83.28 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.317, allocations: 87.3 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.085e-05/0.3171, allocations: 150.6 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.103e-05/0.3171, allocations: 79.27 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.345e-05/0.3172, allocations: 158.5 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.3173, allocations: 79.28 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3173, allocations: 79.22 kB / 0.5668 GB, free: 14.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001273/0.3175, allocations: 260.4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.3175, allocations: 108.9 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3176, allocations: 123.7 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.808e-05/0.3176, allocations: 176.3 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.449e-05/0.3177, allocations: 176.3 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-05/0.3178, allocations: 180.2 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.318, allocations: 376.3 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/0.3181, allocations: 112.9 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.3181, allocations: 108.9 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.987e-05/0.3182, allocations: 180.3 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-05/0.3183, allocations: 180.2 kB / 0.5687 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-05/0.3183, allocations: 180.3 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.3184, allocations: 184.2 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.3185, allocations: 299.8 kB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.3186, allocations: 116.9 kB / 0.5694 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.3187, allocations: 184.2 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3188, allocations: 104.9 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.319, allocations: 184.3 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.319, allocations: 101 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.319, allocations: 75.28 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.319, allocations: 3.938 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.3196, allocations: 151.6 kB / 0.5702 GB, free: 10.65 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001072/0.3207, allocations: 0.9725 MB / 0.5711 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.524e-05/0.3207, allocations: 4.453 kB / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3207, allocations: 0 / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.3208, allocations: 3.938 kB / 0.5711 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3211, allocations: 459.7 kB / 0.5716 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3215, allocations: 221.5 kB / 0.5718 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3218, allocations: 0.6729 MB / 0.5724 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.273e-06/0.3218, allocations: 4 kB / 0.5725 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.3218, allocations: 7.438 kB / 0.5725 GB, free: 8.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3218, allocations: 0 / 0.5725 GB, free: 8.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3471, allocations: 4.462 MB / 0.5768 GB, free: 3.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.39, allocations: 10.16 kB / 0.5768 GB, free: 3.91 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.170018406992313] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.549559595994651 11.565164744 11.247453654 Calling exit ...