Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.91 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 75.88 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3075, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001927/0.3094, allocations: 0.4913 MB / 0.562 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.3129, allocations: 2.066 MB / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-06/0.3129, allocations: 0 / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.047e-06/0.3129, allocations: 4 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.212e-06/0.3129, allocations: 0 / 0.564 GB, free: 1.75 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001763/0.3147, allocations: 0.5578 MB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.51e-05/0.3147, allocations: 3.984 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.3147, allocations: 4 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.064e-05/0.3147, allocations: 0 / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.314e-05/0.3147, allocations: 0 / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-06/0.3147, allocations: 4 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.3166, allocations: 1.13 MB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.3166, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3166, allocations: 7.938 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3177, allocations: 0.8359 MB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3177, allocations: 4 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3177, allocations: 0 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3177, allocations: 0 / 0.5665 GB, free: 15.2 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.00038/0.3181, allocations: 305.7 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3182, allocations: 12.03 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.342e-05/0.3182, allocations: 75.47 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.3183, allocations: 106 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.3184, allocations: 76.22 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3185, allocations: 177.8 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.3185, allocations: 158.9 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.3186, allocations: 158.9 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.559e-05/0.3187, allocations: 108.9 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.3187, allocations: 75.28 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.3188, allocations: 150.6 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/0.3188, allocations: 150.6 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.3189, allocations: 154.6 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.3192, allocations: 421 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3193, allocations: 169.1 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.3193, allocations: 80.14 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.3194, allocations: 83.27 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.3194, allocations: 113.8 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.3194, allocations: 0 / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.592e-05/0.3195, allocations: 33.62 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.3196, allocations: 156.4 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.028e-05/0.3196, allocations: 89.86 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3197, allocations: 25.7 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.3197, allocations: 84.14 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3197, allocations: 0 / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.3197, allocations: 13.72 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3199, allocations: 310.8 kB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.3199, allocations: 0 / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.3199, allocations: 0 / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.3199, allocations: 75.28 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/0.32, allocations: 75.28 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.282e-05/0.32, allocations: 33.64 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.3201, allocations: 87.3 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/0.3201, allocations: 87.3 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-05/0.3202, allocations: 154.6 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.542e-05/0.3202, allocations: 79.22 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.843e-05/0.3203, allocations: 150.6 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.3204, allocations: 83.22 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.3204, allocations: 83.22 kB / 0.5705 GB, free: 10.88 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.0001349/0.3205, allocations: 256.4 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.3206, allocations: 116.9 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.3206, allocations: 111.7 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.793e-05/0.3207, allocations: 176.3 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.992e-05/0.3208, allocations: 184.2 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/0.3209, allocations: 180.3 kB / 0.5715 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3211, allocations: 372.3 kB / 0.5718 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/0.3212, allocations: 112.9 kB / 0.5719 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.3212, allocations: 104.9 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.863e-05/0.3213, allocations: 188.2 kB / 0.5722 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.3214, allocations: 188.2 kB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.14e-05/0.3215, allocations: 176.3 kB / 0.5725 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.255e-05/0.3216, allocations: 184.2 kB / 0.5727 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3217, allocations: 299.8 kB / 0.573 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3218, allocations: 116.9 kB / 0.5731 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.3219, allocations: 180.3 kB / 0.5733 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.322, allocations: 104.9 kB / 0.5734 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.322, allocations: 180.3 kB / 0.5736 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.3221, allocations: 104.9 kB / 0.5737 GB, free: 7.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.3221, allocations: 79.27 kB / 0.5737 GB, free: 7.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 4 kB / 0.5737 GB, free: 7.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006088/0.3227, allocations: 147.6 kB / 0.5739 GB, free: 7.188 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.001069/0.3238, allocations: 0.9762 MB / 0.5748 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.638e-05/0.3239, allocations: 4.391 kB / 0.5748 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3239, allocations: 0 / 0.5748 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3239, allocations: 0 / 0.5748 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3242, allocations: 466.5 kB / 0.5753 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.3246, allocations: 221.5 kB / 0.5755 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3249, allocations: 0.669 MB / 0.5762 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.013e-05/0.3249, allocations: 4 kB / 0.5762 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.325, allocations: 7.438 kB / 0.5762 GB, free: 4.762 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.325, allocations: 0 / 0.5762 GB, free: 4.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.3491, allocations: 4.46 MB / 0.5805 GB, free: 420 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.05, allocations: 13.64 kB / 0.5805 GB, free: 412 kB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.760126485023648] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.206657739996444 11.222561581 10.901784151 Calling exit ...