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.001441/0.001441, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001757/0.001757, allocations: 216.6 kB / 23.75 MB, free: 4.668 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2149/0.2149, allocations: 44.92 MB / 358.8 MB, free: 6.281 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",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.002138/0.002138, allocations: 63.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 65.48 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001455/0.3076, allocations: 492.3 kB / 0.5575 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3107, allocations: 2.067 MB / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-06/0.3107, allocations: 0 / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.086e-06/0.3107, allocations: 0 / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.02e-07/0.3107, allocations: 0 / 0.5595 GB, free: 5.215 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.001696/0.3124, allocations: 0.5607 MB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.301e-05/0.3124, allocations: 0 / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.556e-05/0.3124, allocations: 3.984 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-06/0.3124, allocations: 0 / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.183e-05/0.3124, allocations: 7.984 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-06/0.3124, allocations: 7.938 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.3141, allocations: 1.133 MB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.3141, allocations: 0 / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.198e-06/0.3141, allocations: 0 / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3151, allocations: 0.8397 MB / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3152, allocations: 0 / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3152, allocations: 0 / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3152, allocations: 0 / 0.562 GB, free: 2.664 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.0004314/0.3156, allocations: 309.7 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3156, allocations: 12.03 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.3157, allocations: 106 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3158, allocations: 80.22 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3159, allocations: 181.8 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.3159, allocations: 150.9 kB / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.316, allocations: 150.9 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.3161, allocations: 113.1 kB / 0.563 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.3161, allocations: 79.28 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.3162, allocations: 150.6 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.3162, allocations: 150.6 kB / 0.5634 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.3163, allocations: 158.4 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.3167, allocations: 417 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.3168, allocations: 173.1 kB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.3168, allocations: 80.14 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.3169, allocations: 75.28 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.3169, allocations: 117.8 kB / 0.5644 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3169, allocations: 0 / 0.5644 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.972e-05/0.317, allocations: 29.64 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.3171, allocations: 156.4 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.313e-05/0.3171, allocations: 89.86 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3172, allocations: 25.7 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.3172, allocations: 88.08 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.3172, allocations: 0 / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.3172, allocations: 17.7 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3174, allocations: 314.8 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-06/0.3174, allocations: 0 / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.3174, allocations: 0 / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.3174, allocations: 75.28 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.324e-05/0.3174, allocations: 75.28 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.401e-05/0.3175, allocations: 33.64 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.3175, allocations: 83.22 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/0.3176, allocations: 83.39 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.158e-05/0.3176, allocations: 150.6 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.3177, allocations: 87.2 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.248e-05/0.3177, allocations: 154.6 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.3178, allocations: 79.22 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.3179, allocations: 75.28 kB / 0.5659 GB, free: 14.41 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.0001516/0.318, allocations: 268.3 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.3181, allocations: 108.9 kB / 0.5663 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.3181, allocations: 111.8 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/0.3182, allocations: 188.2 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.628e-05/0.3183, allocations: 180.2 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-05/0.3184, allocations: 180.3 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3186, allocations: 376.2 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.3187, allocations: 105 kB / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3187, allocations: 105 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.622e-05/0.3188, allocations: 188.1 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.3189, allocations: 180.3 kB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.629e-05/0.319, allocations: 184.2 kB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.682e-05/0.319, allocations: 180.2 kB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3192, allocations: 307.8 kB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3193, allocations: 104.9 kB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-05/0.3194, allocations: 192.2 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.3194, allocations: 101 kB / 0.5689 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.3195, allocations: 180.3 kB / 0.569 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.3196, allocations: 104.9 kB / 0.5691 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.231e-05/0.3196, allocations: 79.28 kB / 0.5692 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3196, allocations: 0 / 0.5692 GB, free: 10.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.3202, allocations: 151.6 kB / 0.5693 GB, free: 10.71 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.001092/0.3213, allocations: 0.9662 MB / 0.5703 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.462e-05/0.3213, allocations: 11.94 kB / 0.5703 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3213, allocations: 0 / 0.5703 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.3213, allocations: 496 / 0.5703 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3217, allocations: 455.7 kB / 0.5707 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.3222, allocations: 225.6 kB / 0.5709 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3226, allocations: 0.669 MB / 0.5716 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.052e-05/0.3226, allocations: 3.984 kB / 0.5716 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.3226, allocations: 7.438 kB / 0.5716 GB, free: 8.297 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3226, allocations: 0 / 0.5716 GB, free: 8.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.3553, allocations: 4.431 MB / 0.5759 GB, free: 4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.61, allocations: 7.031 kB / 0.5759 GB, free: 3.996 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.378815087955445] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.717449157964438 11.742666599 11.423124272 Calling exit ...