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.001095/0.001095, allocations: 110.4 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.001179/0.001179, allocations: 187.9 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2072/0.2072, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3566, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001409/0.3581, allocations: 488.7 kB / 0.5189 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3606, allocations: 1.984 MB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-06/0.3606, allocations: 0 / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.647e-06/0.3606, allocations: 1.062 kB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.894e-06/0.3606, 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.00146/0.3621, allocations: 0.5299 MB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.504e-05/0.3621, allocations: 0 / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.3622, allocations: 2.562 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.007e-05/0.3622, allocations: 0 / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-06/0.3622, allocations: 0 / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-06/0.3622, allocations: 4 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.3636, allocations: 0.8827 MB / 0.5222 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-06/0.3636, allocations: 0 / 0.5222 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.149e-05/0.3636, allocations: 1.094 kB / 0.5222 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.3648, allocations: 0.7761 MB / 0.523 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3648, allocations: 1.625 kB / 0.523 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3648, allocations: 0 / 0.523 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3649, allocations: 0 / 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.0003348/0.3652, allocations: 380.7 kB / 0.5233 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3653, allocations: 9.156 kB / 0.5233 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.3653, allocations: 116.2 kB / 0.5234 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3653, allocations: 76.22 kB / 0.5235 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.234e-05/0.3654, allocations: 236.8 kB / 0.5237 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.3654, allocations: 152.7 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.3655, allocations: 150.9 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.628e-05/0.3656, allocations: 109.8 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3656, allocations: 76.56 kB / 0.5242 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.3657, allocations: 154.6 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.3657, allocations: 155.3 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.3658, allocations: 155.9 kB / 0.5246 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.366, allocations: 444.1 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.3661, allocations: 171 kB / 0.5252 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.3662, allocations: 80.14 kB / 0.5253 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3662, allocations: 75.28 kB / 0.5254 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.3663, allocations: 116.1 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.3663, allocations: 0 / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.797e-05/0.3664, allocations: 31.52 kB / 0.5255 GB, free: 14.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.3665, allocations: 153.1 kB / 0.5257 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.3665, allocations: 90.98 kB / 0.5258 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3665, allocations: 25.7 kB / 0.5258 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.3666, allocations: 80.14 kB / 0.5259 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.3666, allocations: 1.406 kB / 0.5259 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.3666, allocations: 15.84 kB / 0.5259 GB, free: 13.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.3667, allocations: 315.5 kB / 0.5262 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-06/0.3667, allocations: 0 / 0.5262 GB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.3667, allocations: 6.281 kB / 0.5262 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.3668, allocations: 75.28 kB / 0.5263 GB, free: 13.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/0.3668, allocations: 76.66 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.008e-05/0.3669, allocations: 31.84 kB / 0.5264 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3669, allocations: 86.3 kB / 0.5264 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.3669, allocations: 79.88 kB / 0.5265 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-05/0.367, allocations: 157.1 kB / 0.5267 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.328e-05/0.367, allocations: 79.3 kB / 0.5267 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-05/0.3671, allocations: 153.2 kB / 0.5269 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.217e-05/0.3672, allocations: 87.92 kB / 0.527 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3672, allocations: 77.16 kB / 0.527 GB, free: 12.66 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.0001095/0.3673, allocations: 262.9 kB / 0.5273 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.3674, allocations: 109.7 kB / 0.5274 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.3674, allocations: 107.2 kB / 0.5275 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/0.3675, allocations: 177 kB / 0.5277 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.587e-05/0.3676, allocations: 186.8 kB / 0.5278 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/0.3676, allocations: 181.1 kB / 0.528 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3678, allocations: 404.8 kB / 0.5284 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/0.3679, allocations: 107.6 kB / 0.5285 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.3679, allocations: 101.8 kB / 0.5286 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.127e-05/0.368, allocations: 190.6 kB / 0.5288 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.368, allocations: 176.8 kB / 0.529 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.554e-05/0.3681, allocations: 186.7 kB / 0.5291 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.93e-05/0.3682, allocations: 176.9 kB / 0.5293 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3683, allocations: 305.5 kB / 0.5296 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3685, allocations: 188.9 kB / 0.5298 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.3686, allocations: 187.2 kB / 0.53 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.3686, allocations: 101.6 kB / 0.5301 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.3687, allocations: 182.6 kB / 0.5302 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.3688, allocations: 107.4 kB / 0.5303 GB, free: 9.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.3688, allocations: 75.28 kB / 0.5304 GB, free: 9.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3688, allocations: 0 / 0.5304 GB, free: 9.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007497/0.3696, allocations: 146.6 kB / 0.5305 GB, free: 9.016 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.001018/0.3706, allocations: 0.9721 MB / 0.5315 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.849e-05/0.3706, allocations: 2.406 kB / 0.5315 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3706, allocations: 0 / 0.5315 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3707, allocations: 0 / 0.5315 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.371, allocations: 458.4 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.0004073/0.3714, allocations: 221.5 kB / 0.5321 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.3716, allocations: 0.6791 MB / 0.5328 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.235e-06/0.3716, allocations: 0 / 0.5328 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.3717, allocations: 8.719 kB / 0.5328 GB, free: 6.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.194e-06/0.3717, allocations: 0 / 0.5328 GB, free: 6.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.3946, allocations: 4.269 MB / 0.537 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.955, allocations: 11.11 kB / 0.537 GB, free: 4.57 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)