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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 109.5 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 188.8 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1958/0.1958, allocations: 44.19 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.88 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001278/0.3249, allocations: 0.4892 MB / 0.5189 GB, free: 3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.327, allocations: 1.98 MB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-06/0.327, allocations: 0 / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.567e-06/0.327, allocations: 0 / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.603e-06/0.327, allocations: 0 / 0.5208 GB, free: 1.605 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750: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.001385/0.3284, allocations: 0.5258 MB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.254e-05/0.3285, allocations: 0 / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.244e-05/0.3285, allocations: 2.141 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-06/0.3285, allocations: 3.984 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-06/0.3285, allocations: 0.75 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-06/0.3285, allocations: 0 / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3297, allocations: 0.8819 MB / 0.5222 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.3297, allocations: 0 / 0.5222 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.3297, allocations: 0 / 0.5222 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009309/0.3307, allocations: 0.785 MB / 0.523 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3307, allocations: 0.5625 kB / 0.523 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3307, allocations: 0 / 0.523 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3307, allocations: 1.438 kB / 0.523 GB, free: 1.031 MB / 382.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.0002768/0.331, allocations: 376.4 kB / 0.5233 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.331, allocations: 10.31 kB / 0.5233 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.3311, allocations: 110 kB / 0.5234 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3311, allocations: 78.28 kB / 0.5235 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.3312, allocations: 240.4 kB / 0.5237 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3312, allocations: 151.6 kB / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.3313, allocations: 156.1 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.369e-05/0.3313, allocations: 109 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.3313, allocations: 75.89 kB / 0.5242 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3314, allocations: 152 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.3315, allocations: 154.6 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.3315, allocations: 152.2 kB / 0.5246 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.3318, allocations: 444 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.3319, allocations: 171.4 kB / 0.5252 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.3319, allocations: 84.14 kB / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.332, allocations: 75.28 kB / 0.5254 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.332, allocations: 110.9 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.332, allocations: 0 / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.193e-05/0.3321, allocations: 28.2 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.3322, allocations: 157.5 kB / 0.5257 GB, free: 14.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.957e-05/0.3322, allocations: 98.89 kB / 0.5258 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3323, allocations: 25.7 kB / 0.5258 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.3323, allocations: 81.95 kB / 0.5259 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3323, allocations: 0 / 0.5259 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.3323, allocations: 11 kB / 0.5259 GB, free: 13.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3325, allocations: 311.5 kB / 0.5262 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.3325, allocations: 1.094 kB / 0.5262 GB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.3325, allocations: 4.594 kB / 0.5262 GB, free: 13.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.3325, allocations: 80.88 kB / 0.5263 GB, free: 13.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-05/0.3326, allocations: 75.28 kB / 0.5263 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.417e-05/0.3326, allocations: 28.52 kB / 0.5264 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.3327, allocations: 85.47 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/0.3327, allocations: 79.88 kB / 0.5265 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.916e-05/0.3328, allocations: 152.9 kB / 0.5267 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.3329, allocations: 88.95 kB / 0.5267 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.251e-05/0.3329, allocations: 155.6 kB / 0.5269 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.333, allocations: 80.86 kB / 0.527 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.333, allocations: 81.23 kB / 0.527 GB, free: 12.67 MB / 398.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.0001192/0.3332, allocations: 258.6 kB / 0.5273 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.3332, allocations: 105.6 kB / 0.5274 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.3333, allocations: 115.1 kB / 0.5275 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/0.3334, allocations: 182.2 kB / 0.5277 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-05/0.3334, allocations: 178.5 kB / 0.5278 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/0.3335, allocations: 181 kB / 0.528 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3338, allocations: 404.4 kB / 0.5284 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/0.3338, allocations: 109.8 kB / 0.5285 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.3339, allocations: 107 kB / 0.5286 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.253e-05/0.334, allocations: 182.3 kB / 0.5288 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/0.334, allocations: 182.7 kB / 0.529 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-05/0.3341, allocations: 176.8 kB / 0.5291 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-05/0.3342, allocations: 182.4 kB / 0.5293 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3343, allocations: 309.2 kB / 0.5296 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.3344, allocations: 188.4 kB / 0.5298 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.3345, allocations: 183 kB / 0.53 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.3346, allocations: 106.1 kB / 0.5301 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.3347, allocations: 183 kB / 0.5302 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.3347, allocations: 108.9 kB / 0.5303 GB, free: 9.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.3348, allocations: 77.52 kB / 0.5304 GB, free: 9.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3348, allocations: 0 / 0.5304 GB, free: 9.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007639/0.3356, allocations: 151.6 kB / 0.5305 GB, free: 9.012 MB / 398.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.0009825/0.3365, allocations: 0.9523 MB / 0.5315 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 3.987e-05/0.3366, allocations: 1.375 kB / 0.5315 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3366, allocations: 5.375 kB / 0.5315 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.3366, allocations: 4.5 kB / 0.5315 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.337, allocations: 464.2 kB / 0.5319 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.3373, allocations: 214.5 kB / 0.5321 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3376, allocations: 0.6773 MB / 0.5328 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.516e-06/0.3376, allocations: 2.172 kB / 0.5328 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.059e-05/0.3376, allocations: 11.44 kB / 0.5328 GB, free: 6.758 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3376, allocations: 1.375 kB / 0.5328 GB, free: 6.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.3583, allocations: 4.263 MB / 0.537 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.949, allocations: 10.17 kB / 0.537 GB, free: 4.582 MB / 398.1 MB (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)