Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3285/0.3285, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3294, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001462/0.3309, allocations: 495.9 kB / 0.5311 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.334, allocations: 2.145 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.334, allocations: 0 / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.334, allocations: 0 / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.3341, allocations: 3.938 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.336, allocations: 0.7161 MB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.336, allocations: 2.5 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.3361, allocations: 9.188 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.3361, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.967e-05/0.3361, allocations: 1.188 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-06/0.3361, allocations: 4 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.3383, allocations: 1.507 MB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.3383, allocations: 0 / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.3384, allocations: 1.312 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.3403, allocations: 1.554 MB / 0.5369 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3403, allocations: 1.625 kB / 0.5369 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3403, allocations: 4 kB / 0.5369 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3403, allocations: 0 / 0.5369 GB, free: 9.371 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007188/0.341, allocations: 416.2 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3411, allocations: 10.22 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.3411, allocations: 30.75 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.3412, allocations: 6.25 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3413, allocations: 164.4 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3413, allocations: 384 / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3413, allocations: 5.094 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.137e-05/0.3414, allocations: 36.75 kB / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3414, allocations: 0 / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.3415, allocations: 0 / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3415, allocations: 0 / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.3415, allocations: 6.719 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.3417, allocations: 145.6 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/0.3417, allocations: 25.39 kB / 0.5377 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.3418, allocations: 6.297 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.3418, allocations: 4 kB / 0.5377 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.3418, allocations: 65.78 kB / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3418, allocations: 0 / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.342, allocations: 66.27 kB / 0.5378 GB, free: 8.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3421, allocations: 78.42 kB / 0.5379 GB, free: 8.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.3421, allocations: 93.86 kB / 0.538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3422, allocations: 25.7 kB / 0.538 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.3422, allocations: 85.8 kB / 0.5381 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.3422, allocations: 0 / 0.5381 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.3423, allocations: 15.2 kB / 0.5381 GB, free: 7.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3424, allocations: 316.2 kB / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.3424, allocations: 1.312 kB / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.3424, allocations: 0 / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.3425, allocations: 64.42 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3425, allocations: 0 / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.146e-05/0.3426, allocations: 74.17 kB / 0.5386 GB, free: 7.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.3426, allocations: 31.64 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3426, allocations: 0 / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3426, allocations: 0 / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.3426, allocations: 1.625 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3426, allocations: 0 / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.3427, allocations: 0 / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3427, allocations: 1.25 kB / 0.5386 GB, free: 7.434 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.456e-05/0.3428, allocations: 133 kB / 0.5387 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.3428, allocations: 13.33 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-06/0.3428, allocations: 3.125 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3428, allocations: 1.25 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3428, allocations: 0 / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3428, allocations: 1.781 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3429, allocations: 149.6 kB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.343, allocations: 1.344 kB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.343, allocations: 0 / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.343, allocations: 0 / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.343, allocations: 13.42 kB / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.343, allocations: 4 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.343, allocations: 0 / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3431, allocations: 94.88 kB / 0.539 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.3432, allocations: 85.03 kB / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3432, allocations: 1.25 kB / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.3432, allocations: 0 / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.3432, allocations: 1.812 kB / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.3432, allocations: 0 / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.3433, allocations: 79.31 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3433, allocations: 3.938 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001082/0.3444, allocations: 276.2 kB / 0.5394 GB, free: 6.742 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001748/0.3461, allocations: 0.9283 MB / 0.5403 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.3462, allocations: 68.55 kB / 0.5404 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3462, allocations: 0 / 0.5404 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.3463, allocations: 54.19 kB / 0.5404 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.3464, allocations: 4.781 kB / 0.5404 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3469, allocations: 166.7 kB / 0.5406 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.3474, allocations: 0.6702 MB / 0.5413 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.551e-06/0.3474, allocations: 0 / 0.5413 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.3474, allocations: 9.531 kB / 0.5413 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3474, allocations: 4.125 kB / 0.5413 GB, free: 4.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.3846, allocations: 8.211 MB / 0.5493 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.62, allocations: 15.78 kB / 0.5493 GB, free: 14.12 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)