Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_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.0008591/0.0008592, allocations: 98.66 kB / 17 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 194.2 kB / 17.91 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2616/0.2616, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 11.92 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005338/0.1609, allocations: 207 kB / 481.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1636, allocations: 1.941 MB / 483.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-06/0.1636, allocations: 3.938 kB / 483.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.629e-06/0.1636, allocations: 0 / 483.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.593e-06/0.1636, allocations: 0 / 483.8 MB, free: 3.125 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001362/0.165, allocations: 461.4 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.311e-05/0.165, allocations: 0 / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.777e-05/0.165, allocations: 3.984 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-06/0.165, allocations: 11.92 kB / 484.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.249e-05/0.1651, allocations: 0 / 484.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1651, allocations: 0 / 484.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1662, allocations: 0.8419 MB / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-06/0.1662, allocations: 0 / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1663, allocations: 25.7 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.1669, allocations: 0.542 MB / 485.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1669, allocations: 0 / 485.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1669, allocations: 0 / 485.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1669, allocations: 4 kB / 485.7 MB, free: 1.242 MB / 350.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.0003361/0.1672, allocations: 375.4 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1673, allocations: 11.97 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.271e-05/0.1674, allocations: 109.8 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.1674, allocations: 79.22 kB / 486.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1676, allocations: 238.3 kB / 486.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.1676, allocations: 150.6 kB / 486.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.1677, allocations: 158.5 kB / 486.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.1678, allocations: 105 kB / 486.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.1678, allocations: 75.28 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.1679, allocations: 154.6 kB / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.168, allocations: 154.6 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/0.168, allocations: 158.5 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.1683, allocations: 441.9 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.888e-05/0.1684, allocations: 169.1 kB / 488 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.1685, allocations: 80.14 kB / 488.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1685, allocations: 79.28 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.1685, allocations: 109.8 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1685, allocations: 0 / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.476e-05/0.1686, allocations: 33.62 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.1687, allocations: 152.4 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.369e-05/0.1687, allocations: 89.86 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1688, allocations: 25.7 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1688, allocations: 92.12 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.1688, allocations: 0 / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.1688, allocations: 0 / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1689, allocations: 318.8 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.169, allocations: 0 / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.169, allocations: 0 / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.169, allocations: 75.28 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/0.1691, allocations: 75.28 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.481e-05/0.1691, allocations: 33.64 kB / 489.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.1692, allocations: 85.5 kB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.891e-05/0.1692, allocations: 87.2 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-05/0.1693, allocations: 158.5 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.1693, allocations: 79.33 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.863e-05/0.1694, allocations: 150.6 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.1695, allocations: 83.22 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1695, allocations: 87.22 kB / 489.8 MB, free: 12.81 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1696, allocations: 260.4 kB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.1697, allocations: 108.9 kB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.1697, allocations: 108.1 kB / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.1698, allocations: 176.3 kB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.21e-05/0.1699, allocations: 188.2 kB / 490.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-05/0.1699, allocations: 176.5 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1701, allocations: 409.1 kB / 491.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/0.1702, allocations: 105 kB / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.1702, allocations: 101 kB / 491.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.297e-05/0.1703, allocations: 184.2 kB / 491.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.1703, allocations: 188.2 kB / 491.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.385e-05/0.1704, allocations: 180.2 kB / 492 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.264e-05/0.1704, allocations: 176.3 kB / 492.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1706, allocations: 307.8 kB / 492.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1706, allocations: 190 kB / 492.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.1707, allocations: 184.2 kB / 492.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.1708, allocations: 101 kB / 492.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.1709, allocations: 180.2 kB / 493.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.1709, allocations: 101 kB / 493.2 MB, free: 9.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.171, allocations: 87.27 kB / 493.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.171, allocations: 4 kB / 493.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005772/0.1716, allocations: 136.3 kB / 493.4 MB, free: 9.016 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009391/0.1725, allocations: 0.9823 MB / 494.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.28e-05/0.1726, allocations: 4 kB / 494.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1726, allocations: 0 / 494.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1726, allocations: 0 / 494.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1729, allocations: 0.5224 MB / 494.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.1733, allocations: 215.7 kB / 495.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1736, allocations: 0.6692 MB / 495.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.905e-06/0.1736, allocations: 0 / 495.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.1736, allocations: 11.44 kB / 495.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1736, allocations: 0 / 495.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.1914, allocations: 4.095 MB / 499.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/0.1917, allocations: 240.8 kB / 0.4884 GB, free: 2.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.166, allocations: 3.938 kB / 0.4884 GB, free: 2.328 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat does not exist to compare? outputFormat=mat