Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00179/0.00179, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.002267/0.002267, allocations: 214.9 kB / 24.54 MB, free: 3.922 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.534/1.534, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2195/0.2195, allocations: 46.93 MB / 361.6 MB, free: 4.203 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 87.84 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3176, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001622/0.3192, allocations: 489 kB / 0.562 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.3222, allocations: 2.081 MB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-06/0.3222, allocations: 0 / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.165e-06/0.3222, allocations: 0 / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.22e-07/0.3222, allocations: 0 / 0.564 GB, free: 1.738 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.001689/0.3239, allocations: 0.5526 MB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.305e-05/0.3239, allocations: 0 / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.946e-05/0.324, allocations: 3.984 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-06/0.324, allocations: 7.922 kB / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.069e-05/0.324, allocations: 0 / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-06/0.324, allocations: 0 / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.3256, allocations: 1.134 MB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.3256, allocations: 4 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.088e-06/0.3256, allocations: 3.938 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.3267, allocations: 0.8397 MB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3267, allocations: 0 / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3267, allocations: 0 / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3267, allocations: 0 / 0.5665 GB, free: 15.19 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.0003905/0.3271, allocations: 305.7 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3271, allocations: 8.031 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.3272, allocations: 110 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.3273, allocations: 80.22 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3274, allocations: 181.8 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.3275, allocations: 150.9 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.3275, allocations: 150.9 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.3276, allocations: 109.1 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.3277, allocations: 75.28 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.3277, allocations: 158.6 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/0.3278, allocations: 154.5 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.353e-05/0.3279, allocations: 154.6 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.3282, allocations: 413 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.525e-05/0.3283, allocations: 169.1 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.3283, allocations: 88.14 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3284, allocations: 75.28 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.765e-05/0.3284, allocations: 113.8 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.3284, allocations: 0 / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.933e-05/0.3285, allocations: 33.62 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.3286, allocations: 156.4 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.3286, allocations: 93.86 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3287, allocations: 25.7 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.3287, allocations: 80.14 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.3287, allocations: 0 / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.3287, allocations: 9.719 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3289, allocations: 314.8 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.3289, allocations: 0 / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.3289, allocations: 8 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.3289, allocations: 75.28 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/0.329, allocations: 75.28 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.667e-05/0.329, allocations: 29.64 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.3291, allocations: 93.55 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/0.3291, allocations: 83.3 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.182e-05/0.3292, allocations: 150.6 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.3292, allocations: 87.25 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.659e-05/0.3293, allocations: 150.6 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.3294, allocations: 83.22 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.3294, allocations: 75.28 kB / 0.5704 GB, free: 10.95 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.0001602/0.3296, allocations: 260.4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.3297, allocations: 108.9 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.3297, allocations: 115.7 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/0.3298, allocations: 176.3 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.853e-05/0.3299, allocations: 188.2 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/0.33, allocations: 176.3 kB / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3302, allocations: 372.3 kB / 0.5717 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.177e-05/0.3303, allocations: 116.9 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.3303, allocations: 104.9 kB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.592e-05/0.3304, allocations: 188.1 kB / 0.5721 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/0.3305, allocations: 180.2 kB / 0.5723 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.46e-05/0.3306, allocations: 184.2 kB / 0.5725 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.059e-05/0.3306, allocations: 176.3 kB / 0.5727 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.3308, allocations: 307.8 kB / 0.5729 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.3309, allocations: 108.9 kB / 0.573 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.3309, allocations: 184.2 kB / 0.5732 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.331, allocations: 101 kB / 0.5733 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.3311, allocations: 180.3 kB / 0.5735 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.3312, allocations: 108.9 kB / 0.5736 GB, free: 7.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.3312, allocations: 79.27 kB / 0.5737 GB, free: 7.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3312, allocations: 0 / 0.5737 GB, free: 7.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000615/0.3318, allocations: 147.6 kB / 0.5738 GB, free: 7.258 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.001116/0.3329, allocations: 0.9788 MB / 0.5748 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.333, allocations: 7.938 kB / 0.5748 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.333, allocations: 4 kB / 0.5748 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.333, allocations: 496 / 0.5748 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3334, allocations: 455.7 kB / 0.5752 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.3339, allocations: 225.6 kB / 0.5754 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3342, allocations: 0.6729 MB / 0.5761 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.315e-06/0.3342, allocations: 0 / 0.5761 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.3342, allocations: 7.438 kB / 0.5761 GB, free: 4.824 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3342, allocations: 0 / 0.5761 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.3603, allocations: 4.335 MB / 0.5803 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.41, allocations: 7.938 kB / 0.5803 GB, free: 0.5469 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.284446409903467] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.483681206125766 8.51046129 8.178905664 Calling exit ...