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.0008826/0.0008826, allocations: 98.62 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009664/0.0009664, allocations: 201.3 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002696, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005325/0.1357, allocations: 210.9 kB / 481.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1386, allocations: 1.927 MB / 483.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-06/0.1386, allocations: 0 / 483.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.107e-06/0.1386, allocations: 0 / 483.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.1386, allocations: 0 / 483.7 MB, free: 3.121 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.00147/0.1401, allocations: 431.6 kB / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.697e-05/0.1401, allocations: 0 / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.1402, allocations: 4 kB / 484.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.1402, allocations: 7.922 kB / 484.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.938e-05/0.1402, allocations: 4 kB / 484.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.1402, allocations: 3.938 kB / 484.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.1414, allocations: 0.7214 MB / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-06/0.1415, allocations: 3.984 kB / 484.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.1415, allocations: 25.7 kB / 484.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.1423, allocations: 0.5186 MB / 485.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1423, allocations: 4 kB / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1423, allocations: 0 / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1423, allocations: 0 / 485.4 MB, free: 1.406 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.0004016/0.1427, allocations: 375.3 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1428, allocations: 12.03 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.876e-05/0.1429, allocations: 109.8 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.1429, allocations: 75.28 kB / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1431, allocations: 238.3 kB / 486.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1432, allocations: 154.6 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/0.1433, allocations: 158.5 kB / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.318e-05/0.1434, allocations: 101 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.1435, allocations: 75.28 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.1436, allocations: 154.6 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.581e-05/0.1437, allocations: 154.6 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.1437, allocations: 154.5 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1441, allocations: 445.9 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1442, allocations: 165.1 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.1443, allocations: 75.28 kB / 487.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.634e-05/0.1444, allocations: 113.8 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 3.527e-06/0.1444, allocations: 0 / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.808e-05/0.1445, allocations: 33.62 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.1446, allocations: 152.4 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.1447, allocations: 89.86 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1447, allocations: 25.7 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.1448, allocations: 88.14 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1448, allocations: 7.938 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/0.1448, allocations: 0 / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1449, allocations: 314.9 kB / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-06/0.1449, allocations: 0 / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.145, allocations: 0 / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.145, allocations: 79.23 kB / 488.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.492e-05/0.1451, allocations: 75.28 kB / 488.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.854e-05/0.1451, allocations: 37.64 kB / 488.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.1452, allocations: 83.31 kB / 488.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.1452, allocations: 79.27 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.082e-05/0.1453, allocations: 162.4 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.107e-05/0.1454, allocations: 75.28 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.74e-05/0.1454, allocations: 154.6 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.1455, allocations: 79.22 kB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.1456, allocations: 83.28 kB / 489.5 MB, free: 13.07 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.0001695/0.1458, allocations: 260.4 kB / 489.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.1459, allocations: 108.9 kB / 489.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.146, allocations: 108.1 kB / 489.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/0.1461, allocations: 184.2 kB / 490.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001261/0.1462, allocations: 184.2 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/0.1464, allocations: 176.5 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.1468, allocations: 405.2 kB / 490.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.173e-05/0.1468, allocations: 105 kB / 490.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.1469, allocations: 105 kB / 491.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.147, allocations: 188.2 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/0.1471, allocations: 188.2 kB / 491.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.621e-05/0.1472, allocations: 180.2 kB / 491.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-05/0.1473, allocations: 176.3 kB / 491.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1475, allocations: 303.8 kB / 492.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.1476, allocations: 190 kB / 492.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.1477, allocations: 184.2 kB / 492.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.1478, allocations: 101 kB / 492.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.1479, allocations: 180.2 kB / 492.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1479, allocations: 105 kB / 492.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.148, allocations: 79.28 kB / 492.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.148, allocations: 0 / 492.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007089/0.1487, allocations: 148.2 kB / 493 MB, free: 9.266 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.001012/0.1497, allocations: 0.9619 MB / 494 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.108e-05/0.1498, allocations: 4 kB / 494 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1498, allocations: 0 / 494 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1498, allocations: 0 / 494 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1502, allocations: 0.5302 MB / 494.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.1506, allocations: 211.6 kB / 494.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.151, allocations: 0.677 MB / 495.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.037e-06/0.151, allocations: 0 / 495.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.151, allocations: 7.438 kB / 495.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.151, allocations: 3.938 kB / 495.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.1669, allocations: 3.77 MB / 499.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.1671, allocations: 235.3 kB / 499.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.052, allocations: 0 / 499.4 MB, free: 2.914 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