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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2179/0.2179, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB 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.003738/0.003738, allocations: 75.88 kB / 480.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.35, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001456/0.3515, allocations: 492.2 kB / 0.5311 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.3544, allocations: 2.042 MB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-06/0.3544, allocations: 1.625 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.856e-06/0.3544, allocations: 0 / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.163e-06/0.3544, allocations: 0 / 0.5331 GB, free: 11.42 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.001455/0.3559, allocations: 0.5067 MB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.377e-05/0.3559, allocations: 0 / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.478e-05/0.3559, allocations: 1.344 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-06/0.356, allocations: 0 / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.105e-05/0.356, allocations: 3.984 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-06/0.356, allocations: 1.312 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.3573, allocations: 0.9034 MB / 0.5344 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.3573, allocations: 7.984 kB / 0.5344 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.249e-05/0.3573, allocations: 0 / 0.5344 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009595/0.3583, allocations: 0.803 MB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3583, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3583, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3583, allocations: 0.9375 kB / 0.5352 GB, free: 10.18 MB / 398.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.0004014/0.3587, allocations: 381.4 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3588, allocations: 13.92 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.101e-05/0.3589, allocations: 106 kB / 0.5357 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.3589, allocations: 80.22 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3591, allocations: 237.1 kB / 0.536 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.3591, allocations: 150.9 kB / 0.5362 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.3592, allocations: 150.9 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.3593, allocations: 118.4 kB / 0.5364 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.3593, allocations: 75.28 kB / 0.5365 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.3594, allocations: 155.8 kB / 0.5366 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.328e-05/0.3595, allocations: 150.6 kB / 0.5368 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.3595, allocations: 151.8 kB / 0.5369 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.3598, allocations: 441.9 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.3599, allocations: 178.5 kB / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.36, allocations: 80.14 kB / 0.5376 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.36, allocations: 80.59 kB / 0.5377 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.3601, allocations: 113.7 kB / 0.5378 GB, free: 7.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3601, allocations: 1.281 kB / 0.5378 GB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.484e-05/0.3602, allocations: 25.7 kB / 0.5378 GB, free: 7.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.3603, allocations: 161.5 kB / 0.538 GB, free: 7.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.099e-05/0.3603, allocations: 89.86 kB / 0.538 GB, free: 7.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3603, allocations: 26.83 kB / 0.5381 GB, free: 7.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.3604, allocations: 84.14 kB / 0.5381 GB, free: 7.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3604, allocations: 0 / 0.5381 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.3604, allocations: 16.36 kB / 0.5382 GB, free: 6.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3606, allocations: 310.8 kB / 0.5385 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.3606, allocations: 4 kB / 0.5385 GB, free: 6.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.3606, allocations: 1.219 kB / 0.5385 GB, free: 6.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.3606, allocations: 76.53 kB / 0.5385 GB, free: 6.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.919e-05/0.3607, allocations: 75.28 kB / 0.5386 GB, free: 6.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.287e-05/0.3607, allocations: 28.11 kB / 0.5386 GB, free: 6.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.3608, allocations: 84.66 kB / 0.5387 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/0.3608, allocations: 83.23 kB / 0.5388 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/0.3609, allocations: 152 kB / 0.5389 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/0.3609, allocations: 92.58 kB / 0.539 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-05/0.361, allocations: 158.5 kB / 0.5392 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.3611, allocations: 76.62 kB / 0.5392 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3611, allocations: 80.5 kB / 0.5393 GB, free: 5.785 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.0001237/0.3612, allocations: 261.5 kB / 0.5396 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.3613, allocations: 110.1 kB / 0.5397 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.3614, allocations: 116.8 kB / 0.5398 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.392e-05/0.3615, allocations: 181.3 kB / 0.54 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.108e-05/0.3615, allocations: 177.3 kB / 0.5401 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-05/0.3616, allocations: 181.3 kB / 0.5403 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3619, allocations: 402.3 kB / 0.5407 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.3619, allocations: 106 kB / 0.5408 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.362, allocations: 106.2 kB / 0.5409 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.157e-05/0.362, allocations: 181.3 kB / 0.5411 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.3621, allocations: 181.4 kB / 0.5412 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.558e-05/0.3622, allocations: 177.3 kB / 0.5414 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.641e-05/0.3623, allocations: 189.3 kB / 0.5416 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.3624, allocations: 307.2 kB / 0.5419 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.3625, allocations: 187.2 kB / 0.5421 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.3626, allocations: 181.5 kB / 0.5422 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.3627, allocations: 105.9 kB / 0.5423 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.3628, allocations: 185.4 kB / 0.5425 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.3628, allocations: 106 kB / 0.5426 GB, free: 2.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.3629, allocations: 79.22 kB / 0.5427 GB, free: 2.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 0 / 0.5427 GB, free: 2.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006404/0.3635, allocations: 153.4 kB / 0.5428 GB, free: 2.105 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.001054/0.3646, allocations: 0.9732 MB / 0.5438 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.186e-05/0.3646, allocations: 1.547 kB / 0.5438 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3646, allocations: 0 / 0.5438 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-06/0.3646, allocations: 4.875 kB / 0.5438 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.365, allocations: 457.6 kB / 0.5442 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.3654, allocations: 219 kB / 0.5444 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3657, allocations: 0.6729 MB / 0.5451 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.368e-06/0.3657, allocations: 5.141 kB / 0.5451 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.3657, allocations: 8.562 kB / 0.5451 GB, free: 15.81 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3657, allocations: 0 / 0.5451 GB, free: 15.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3918, allocations: 4.343 MB / 0.5493 GB, free: 13.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.613, allocations: 10.84 kB / 0.5494 GB, free: 13.52 MB / 414.1 MB (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)