Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00126/0.00126, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001381/0.001381, allocations: 213.4 kB / 24.51 MB, free: 3.945 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.228/0.228, allocations: 46.97 MB / 361.7 MB, free: 4.109 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 66.04 MB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001609/0.3369, allocations: 497 kB / 0.5618 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.3399, allocations: 1.946 MB / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-06/0.3399, allocations: 0 / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-06/0.3399, allocations: 0 / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.162e-06/0.3399, allocations: 0 / 0.5637 GB, free: 1.777 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.001671/0.3416, allocations: 0.5682 MB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.705e-05/0.3416, allocations: 4 kB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.795e-05/0.3416, allocations: 0 / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-06/0.3416, allocations: 0 / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-06/0.3416, allocations: 4 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-06/0.3416, allocations: 0 / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.343, allocations: 0.8693 MB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.343, allocations: 0 / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.343, allocations: 0 / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000964/0.344, allocations: 0.7774 MB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.344, allocations: 0 / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.344, allocations: 0 / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.344, allocations: 0 / 0.5659 GB, free: 15.55 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003708/0.3444, allocations: 301.7 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3444, allocations: 8.031 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.91e-05/0.3444, allocations: 83.47 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.3445, allocations: 110 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.3446, allocations: 76.22 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3447, allocations: 181.8 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.3447, allocations: 154.9 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.3448, allocations: 158.9 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.246e-05/0.3449, allocations: 108.9 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.3449, allocations: 75.28 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.345, allocations: 150.6 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/0.3451, allocations: 150.6 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.3451, allocations: 162.5 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.3454, allocations: 413 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.3455, allocations: 173.1 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.3456, allocations: 84.19 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.3456, allocations: 83.22 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.3457, allocations: 109.8 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3457, allocations: 0 / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.792e-05/0.3457, allocations: 29.69 kB / 0.5684 GB, free: 12.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.3458, allocations: 152.4 kB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.3459, allocations: 89.86 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3459, allocations: 29.64 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.3459, allocations: 84.14 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3459, allocations: 4 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.346, allocations: 9.719 kB / 0.5687 GB, free: 12.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3461, allocations: 314.8 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-06/0.3461, allocations: 0 / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.3461, allocations: 29.7 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.3462, allocations: 75.28 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-05/0.3462, allocations: 75.28 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.188e-05/0.3463, allocations: 33.62 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.3463, allocations: 83.28 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.3463, allocations: 79.3 kB / 0.5694 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-05/0.3464, allocations: 158.6 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.3464, allocations: 79.28 kB / 0.5696 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.703e-05/0.3465, allocations: 154.5 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.3466, allocations: 79.28 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3466, allocations: 83.22 kB / 0.5699 GB, free: 11.2 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.0001457/0.3468, allocations: 264.3 kB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.3468, allocations: 108.9 kB / 0.5703 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3469, allocations: 111.7 kB / 0.5704 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.026e-05/0.347, allocations: 176.3 kB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.349e-05/0.3471, allocations: 184.3 kB / 0.5707 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.3471, allocations: 188.2 kB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3474, allocations: 372.3 kB / 0.5713 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/0.3474, allocations: 108.9 kB / 0.5714 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.3475, allocations: 108.9 kB / 0.5715 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.3476, allocations: 188.2 kB / 0.5716 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.3477, allocations: 184.2 kB / 0.5718 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.909e-05/0.3477, allocations: 176.3 kB / 0.572 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.321e-05/0.3478, allocations: 180.2 kB / 0.5722 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.348, allocations: 307.8 kB / 0.5725 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.348, allocations: 108.9 kB / 0.5726 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.3481, allocations: 184.3 kB / 0.5727 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.3482, allocations: 104.9 kB / 0.5728 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.3483, allocations: 176.3 kB / 0.573 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.3483, allocations: 113 kB / 0.5731 GB, free: 7.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.3484, allocations: 75.28 kB / 0.5732 GB, free: 7.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3484, allocations: 0 / 0.5732 GB, free: 7.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005985/0.349, allocations: 147.5 kB / 0.5733 GB, free: 7.504 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.001062/0.35, allocations: 0.9805 MB / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.3501, allocations: 0 / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3501, allocations: 0 / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.3501, allocations: 7.938 kB / 0.5743 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3505, allocations: 459.7 kB / 0.5747 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.3509, allocations: 226 kB / 0.5749 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.3509, allocations: 55.36 kB / 0.575 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.923e-06/0.3509, allocations: 0 / 0.575 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.3509, allocations: 11.38 kB / 0.575 GB, free: 5.699 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3509, allocations: 0 / 0.575 GB, free: 5.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.3754, allocations: 4.501 MB / 0.5794 GB, free: 1.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.34, allocations: 11.86 kB / 0.5794 GB, free: 1.336 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.109013356966898] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.499505778076127 11.515569442 11.168593259 Calling exit ...