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.001291/0.001291, allocations: 115.6 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.001424/0.001424, allocations: 214.1 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2341/0.2341, allocations: 46.92 MB / 360.9 MB, free: 4.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 67.91 kB / 0.4961 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3454, allocations: 66.03 MB / 0.5606 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001607/0.347, allocations: 493.1 kB / 0.5611 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.3505, allocations: 2.074 MB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-06/0.3505, allocations: 0 / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.01e-06/0.3505, allocations: 0 / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.352e-06/0.3505, allocations: 0 / 0.5631 GB, free: 1.914 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.001876/0.3524, allocations: 0.5682 MB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.067e-05/0.3524, allocations: 0 / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.3525, allocations: 0 / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-06/0.3525, allocations: 0 / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-06/0.3525, allocations: 3.938 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-06/0.3525, allocations: 0 / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.3542, allocations: 1.13 MB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.3542, allocations: 7.984 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.3542, allocations: 0 / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3553, allocations: 0.8397 MB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3553, allocations: 0 / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3553, allocations: 0 / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3553, allocations: 0 / 0.5656 GB, free: 15.36 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.0003754/0.3557, allocations: 305.7 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.3557, allocations: 8.031 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.328e-05/0.3558, allocations: 110 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.3559, allocations: 80.22 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.356, allocations: 177.8 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.3561, allocations: 150.9 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.3561, allocations: 158.9 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.3562, allocations: 105.1 kB / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.3562, allocations: 75.28 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.3563, allocations: 162.5 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.3564, allocations: 150.6 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.3564, allocations: 154.5 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.3567, allocations: 413 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3568, allocations: 173.1 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.3569, allocations: 88.08 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.3569, allocations: 75.28 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.357, allocations: 113.8 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.357, allocations: 0 / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.371e-05/0.357, allocations: 29.64 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3572, allocations: 164.4 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.3572, allocations: 93.86 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3572, allocations: 25.7 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3573, allocations: 80.14 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-06/0.3573, allocations: 0 / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.3573, allocations: 9.719 kB / 0.5684 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3574, allocations: 310.8 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.3574, allocations: 0 / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.3574, allocations: 8 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.3575, allocations: 75.28 kB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-05/0.3575, allocations: 75.28 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.329e-05/0.3576, allocations: 29.7 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.3576, allocations: 83.22 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/0.3577, allocations: 83.3 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.201e-05/0.3577, allocations: 162.5 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.3578, allocations: 83.25 kB / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.475e-05/0.3578, allocations: 154.6 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.3579, allocations: 79.28 kB / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.358, allocations: 79.22 kB / 0.5696 GB, free: 11.11 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.0001387/0.3581, allocations: 264.3 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.3582, allocations: 112.9 kB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.3582, allocations: 115.7 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.147e-05/0.3583, allocations: 176.3 kB / 0.5702 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.573e-05/0.3584, allocations: 180.3 kB / 0.5704 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-05/0.3585, allocations: 180.2 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3587, allocations: 372.3 kB / 0.5709 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.758e-05/0.3588, allocations: 116.9 kB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.3588, allocations: 101 kB / 0.5711 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-05/0.3589, allocations: 184.1 kB / 0.5713 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.359, allocations: 176.3 kB / 0.5714 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.489e-05/0.3591, allocations: 184.2 kB / 0.5716 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.312e-05/0.3592, allocations: 184.1 kB / 0.5718 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3593, allocations: 307.8 kB / 0.5721 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.3594, allocations: 108.9 kB / 0.5722 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.3595, allocations: 184.3 kB / 0.5724 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.3596, allocations: 104.9 kB / 0.5725 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.3596, allocations: 180.3 kB / 0.5726 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.3597, allocations: 104.9 kB / 0.5727 GB, free: 7.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.3597, allocations: 75.28 kB / 0.5728 GB, free: 7.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3597, allocations: 0 / 0.5728 GB, free: 7.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006363/0.3604, allocations: 155.6 kB / 0.573 GB, free: 7.418 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.001048/0.3614, allocations: 0.9751 MB / 0.5739 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.599e-05/0.3615, allocations: 8 kB / 0.5739 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3615, allocations: 3.938 kB / 0.5739 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3615, allocations: 496 / 0.5739 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3618, allocations: 455.7 kB / 0.5744 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3622, allocations: 225.6 kB / 0.5746 GB, free: 5.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3625, allocations: 0.6729 MB / 0.5752 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.735e-06/0.3625, allocations: 4 kB / 0.5752 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.3626, allocations: 7.438 kB / 0.5752 GB, free: 4.992 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3626, allocations: 0 / 0.5752 GB, free: 4.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3918, allocations: 4.431 MB / 0.5796 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.43, allocations: 5.453 kB / 0.5796 GB, free: 0.6953 MB / 414.1 MB " [Timeout remaining time 648] (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.131325006019324] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.529936055885628 11.545700882 11.187163504 Calling exit ...