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/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.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/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 199.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 115.6 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4301/0.4301, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003699, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4387, allocations: 63.25 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.5878, allocations: 91.07 MB / 0.6082 GB, free: 12.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.588, allocations: 67.94 kB / 0.6083 GB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07181/0.6598, allocations: 25.94 MB / 0.6336 GB, free: 2.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6599, allocations: 7.938 kB / 0.6336 GB, free: 2.301 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.6599, allocations: 0 / 0.6336 GB, free: 2.301 MB / 442.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.0007195/0.6606, allocations: 448.8 kB / 0.634 GB, free: 1.809 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6607, allocations: 8.031 kB / 0.634 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.6607, allocations: 30.56 kB / 0.6341 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.6608, allocations: 7.953 kB / 0.6341 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6609, allocations: 159.1 kB / 0.6342 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6609, allocations: 4 kB / 0.6342 GB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.6609, allocations: 0 / 0.6342 GB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.661, allocations: 33.7 kB / 0.6343 GB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.661, allocations: 7.984 kB / 0.6343 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.661, allocations: 0 / 0.6343 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.661, allocations: 3.938 kB / 0.6343 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.6611, allocations: 7.891 kB / 0.6343 GB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.6612, allocations: 149.7 kB / 0.6344 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.6613, allocations: 18.58 kB / 0.6344 GB, free: 1.273 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.6613, allocations: 0 / 0.6344 GB, free: 1.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.6613, allocations: 60.27 kB / 0.6345 GB, free: 1.199 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.685e-06/0.6613, allocations: 0 / 0.6345 GB, free: 1.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000189/0.6615, allocations: 71.33 kB / 0.6346 GB, free: 1.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.6616, allocations: 81.11 kB / 0.6347 GB, free: 1.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.064e-05/0.6617, allocations: 85 kB / 0.6347 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.6617, allocations: 25.83 kB / 0.6348 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.6617, allocations: 84.14 kB / 0.6348 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.6618, allocations: 0 / 0.6348 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.6618, allocations: 0 / 0.6348 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6619, allocations: 318.8 kB / 0.6351 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.6619, allocations: 0 / 0.6351 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.662, allocations: 7.984 kB / 0.6351 GB, free: 496 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.662, allocations: 25.7 kB / 0.6352 GB, free: 464 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.662, allocations: 0 / 0.6352 GB, free: 464 kB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.694e-05/0.6621, allocations: 63.47 kB / 0.6352 GB, free: 388 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.6621, allocations: 32.36 kB / 0.6353 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.6621, allocations: 0 / 0.6353 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6622, allocations: 0 / 0.6353 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.6622, allocations: 7.938 kB / 0.6353 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6622, allocations: 3.984 kB / 0.6353 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.6622, allocations: 0 / 0.6353 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6622, allocations: 0 / 0.6353 GB, free: 340 kB / 442.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 8.746e-05/0.6623, allocations: 147.4 kB / 0.6354 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-06/0.6623, allocations: 4.031 kB / 0.6354 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.6623, allocations: 3.125 kB / 0.6354 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.6623, allocations: 0 / 0.6354 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6623, allocations: 0 / 0.6354 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6624, allocations: 0 / 0.6354 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.6625, allocations: 153.6 kB / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6625, allocations: 0 / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.6625, allocations: 0 / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.6625, allocations: 0 / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.6625, allocations: 0 / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6625, allocations: 0 / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6625, allocations: 4 kB / 0.6356 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.6626, allocations: 94.78 kB / 0.6357 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.6627, allocations: 81.05 kB / 0.6357 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.6627, allocations: 3.938 kB / 0.6357 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.6627, allocations: 7.938 kB / 0.6358 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.6627, allocations: 0 / 0.6358 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.6627, allocations: 0 / 0.6358 GB, free: 15.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.6628, allocations: 79.31 kB / 0.6358 GB, free: 15.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6628, allocations: 0 / 0.6358 GB, free: 15.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.6633, allocations: 159.9 kB / 0.636 GB, free: 15.5 MB / 458.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.001189/0.6645, allocations: 0.8811 MB / 0.6368 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.6646, allocations: 59.34 kB / 0.6369 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6646, allocations: 0 / 0.6369 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.6647, allocations: 55.41 kB / 0.6369 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.081e-05/0.6647, allocations: 3.938 kB / 0.637 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.6651, allocations: 168.3 kB / 0.6371 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.6654, allocations: 0.677 MB / 0.6378 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.6654, allocations: 4.125 kB / 0.6378 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.6654, allocations: 11.44 kB / 0.6378 GB, free: 13.53 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6655, allocations: 0 / 0.6378 GB, free: 13.53 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.6844, allocations: 5.24 MB / 0.6429 GB, free: 8.387 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.6846, allocations: 207.3 kB / 0.6431 GB, free: 8.141 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.544, allocations: 0 / 0.6431 GB, free: 8.141 MB / 458.7 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat