Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009942/0.0009941, allocations: 95.31 kB / 297.2 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4835/0.4835, allocations: 45.23 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004056, allocations: 12.22 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3968, allocations: 63.25 MB / 0.5193 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.5266, allocations: 88.69 MB / 0.6059 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.5269, allocations: 71.94 kB / 0.6059 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008852/0.5358, allocations: 2.881 MB / 0.6088 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5358, allocations: 3.938 kB / 0.6088 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.5358, allocations: 0 / 0.6088 GB, free: 11.75 MB / 426.7 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.0003606/0.5362, allocations: 393 kB / 0.6091 GB, free: 11.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5363, allocations: 12.03 kB / 0.6092 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.5363, allocations: 30.56 kB / 0.6092 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.5363, allocations: 3.953 kB / 0.6092 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.591e-05/0.5364, allocations: 159.1 kB / 0.6093 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.5364, allocations: 4 kB / 0.6093 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.5364, allocations: 0 / 0.6093 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.556e-05/0.5365, allocations: 33.62 kB / 0.6094 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5365, allocations: 4 kB / 0.6094 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.5366, allocations: 0 / 0.6094 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.5366, allocations: 7.953 kB / 0.6094 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.5366, allocations: 0 / 0.6094 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.5367, allocations: 145.7 kB / 0.6095 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.5367, allocations: 18.61 kB / 0.6095 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5368, allocations: 0 / 0.6095 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.5368, allocations: 64.19 kB / 0.6096 GB, free: 10.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.5368, allocations: 0 / 0.6096 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.537, allocations: 63.47 kB / 0.6097 GB, free: 10.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.537, allocations: 81.11 kB / 0.6097 GB, free: 10.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.391e-05/0.5371, allocations: 85 kB / 0.6098 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.5371, allocations: 29.7 kB / 0.6098 GB, free: 10.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.5371, allocations: 80.14 kB / 0.6099 GB, free: 10.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.5371, allocations: 0 / 0.6099 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.5371, allocations: 3.938 kB / 0.6099 GB, free: 10.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.5372, allocations: 318.8 kB / 0.6102 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.5373, allocations: 4.125 kB / 0.6102 GB, free: 10.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.5373, allocations: 4 kB / 0.6102 GB, free: 10 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.5373, allocations: 29.64 kB / 0.6103 GB, free: 9.969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5373, allocations: 0 / 0.6103 GB, free: 9.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.121e-05/0.5374, allocations: 63.41 kB / 0.6103 GB, free: 9.895 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.5374, allocations: 33.69 kB / 0.6104 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5374, allocations: 0 / 0.6104 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.5374, allocations: 0 / 0.6104 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.5374, allocations: 4 kB / 0.6104 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.5375, allocations: 96 / 0.6104 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.5375, allocations: 4 kB / 0.6104 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.5375, allocations: 0 / 0.6104 GB, free: 9.848 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.5376, allocations: 139.5 kB / 0.6105 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-06/0.5376, allocations: 0 / 0.6105 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-06/0.5376, allocations: 3.125 kB / 0.6105 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5376, allocations: 7.922 kB / 0.6105 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5376, allocations: 0 / 0.6105 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.5376, allocations: 3.984 kB / 0.6105 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.746e-05/0.5377, allocations: 149.6 kB / 0.6107 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5377, allocations: 4 kB / 0.6107 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5377, allocations: 0 / 0.6107 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5377, allocations: 0 / 0.6107 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.5377, allocations: 0 / 0.6107 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5377, allocations: 4 kB / 0.6107 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5378, allocations: 3.938 kB / 0.6107 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.5378, allocations: 98.77 kB / 0.6108 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.5379, allocations: 85.14 kB / 0.6108 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.5379, allocations: 0 / 0.6108 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.5379, allocations: 4 kB / 0.6109 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.5379, allocations: 3.984 kB / 0.6109 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.538, allocations: 0 / 0.6109 GB, free: 9.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.538, allocations: 75.28 kB / 0.6109 GB, free: 9.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.538, allocations: 0 / 0.6109 GB, free: 9.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.5383, allocations: 79.81 kB / 0.611 GB, free: 9.09 MB / 426.7 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 (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.0006956/0.539, allocations: 0.7364 MB / 0.6117 GB, free: 8.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.809e-05/0.5391, allocations: 63.33 kB / 0.6118 GB, free: 8.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5391, allocations: 0 / 0.6118 GB, free: 8.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.5392, allocations: 55.41 kB / 0.6118 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.463e-05/0.5393, allocations: 0 / 0.6118 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.5396, allocations: 144.3 kB / 0.612 GB, free: 8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5398, allocations: 0.6809 MB / 0.6126 GB, free: 7.293 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.5398, allocations: 0 / 0.6126 GB, free: 7.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.5398, allocations: 7.438 kB / 0.6126 GB, free: 7.285 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5398, allocations: 3.938 kB / 0.6126 GB, free: 7.281 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.5521, allocations: 2.043 MB / 0.6146 GB, free: 5.336 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5524, allocations: 205.6 kB / 0.6148 GB, free: 5.094 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.15, allocations: 0 / 0.6148 GB, free: 5.094 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat