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.001523/0.001523, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 92.36 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.81e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5853, allocations: 87.96 MB / 0.5903 GB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.5856, allocations: 58.36 kB / 0.5904 GB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008514/0.5941, allocations: 2.863 MB / 0.5932 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.388e-06/0.5942, allocations: 0 / 0.5932 GB, free: 12.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.5942, allocations: 4.781 kB / 0.5932 GB, free: 12.07 MB / 394.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.0003832/0.5946, allocations: 372.2 kB / 0.5936 GB, free: 11.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5946, allocations: 8.031 kB / 0.5936 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.5947, allocations: 3.953 kB / 0.5936 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5948, allocations: 165.8 kB / 0.5937 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5948, allocations: 4 kB / 0.5937 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.5948, allocations: 4 kB / 0.5937 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.73e-05/0.5948, allocations: 3.938 kB / 0.5937 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.666e-05/0.5949, allocations: 25.7 kB / 0.5938 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5949, allocations: 3.938 kB / 0.5938 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5949, allocations: 4 kB / 0.5938 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.595, allocations: 3.953 kB / 0.5938 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.5951, allocations: 122.2 kB / 0.5939 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.5951, allocations: 25.56 kB / 0.5939 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.5951, allocations: 4.953 kB / 0.5939 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.5952, allocations: 4 kB / 0.5939 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.5952, allocations: 56.27 kB / 0.594 GB, free: 11.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 3.507e-06/0.5952, allocations: 0 / 0.594 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001695/0.5954, allocations: 37.62 kB / 0.594 GB, free: 11.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.5954, allocations: 85.05 kB / 0.5941 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.872e-05/0.5955, allocations: 92.16 kB / 0.5942 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5955, allocations: 25.7 kB / 0.5942 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.5956, allocations: 80.14 kB / 0.5943 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.5956, allocations: 0 / 0.5943 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.5956, allocations: 0 / 0.5943 GB, free: 10.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5957, allocations: 318.8 kB / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.5957, allocations: 0 / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.5957, allocations: 4 kB / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.5958, allocations: 0 / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5958, allocations: 4.062 kB / 0.5946 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.542e-05/0.5959, allocations: 41.02 kB / 0.5946 GB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.5959, allocations: 29.7 kB / 0.5947 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5959, allocations: 0 / 0.5947 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5959, allocations: 3.984 kB / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.5959, allocations: 0 / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.596, allocations: 0 / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.596, allocations: 4 kB / 0.5947 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.596, allocations: 0 / 0.5947 GB, free: 10.36 MB / 394.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 () * 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 0.0001015/0.5961, allocations: 134.7 kB / 0.5948 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.485e-05/0.5962, allocations: 37.7 kB / 0.5948 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.5962, allocations: 4.609 kB / 0.5948 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.159e-05/0.5962, allocations: 3.75 kB / 0.5948 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5962, allocations: 0 / 0.5948 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5962, allocations: 0 / 0.5948 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5962, allocations: 0 / 0.5948 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.267e-05/0.5963, allocations: 133.6 kB / 0.595 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.5963, allocations: 0 / 0.595 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.5963, allocations: 0 / 0.595 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5963, allocations: 4.031 kB / 0.595 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5964, allocations: 4 kB / 0.595 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5964, allocations: 3.984 kB / 0.595 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5964, allocations: 7.875 kB / 0.595 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.328e-05/0.5965, allocations: 64.47 kB / 0.595 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.5965, allocations: 77.11 kB / 0.5951 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.5965, allocations: 3.984 kB / 0.5951 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.5966, allocations: 3.969 kB / 0.5951 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.5966, allocations: 4 kB / 0.5951 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.5966, allocations: 4 kB / 0.5951 GB, free: 9.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.542e-05/0.5966, allocations: 75.28 kB / 0.5952 GB, free: 9.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5966, allocations: 0 / 0.5952 GB, free: 9.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.5969, allocations: 83.86 kB / 0.5953 GB, free: 9.637 MB / 394.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) * 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.0007421/0.5977, allocations: 0.7102 MB / 0.596 GB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.5978, allocations: 59.39 kB / 0.596 GB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5978, allocations: 0 / 0.596 GB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.5978, allocations: 51.41 kB / 0.5961 GB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.881e-05/0.5979, allocations: 7.938 kB / 0.5961 GB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.5982, allocations: 108.7 kB / 0.5962 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.5985, allocations: 0.6768 MB / 0.5969 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.434e-06/0.5985, allocations: 4.062 kB / 0.5969 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.5986, allocations: 15.38 kB / 0.5969 GB, free: 7.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5986, allocations: 0 / 0.5969 GB, free: 7.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.6182, allocations: 1.737 MB / 0.5986 GB, free: 6.188 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.6184, allocations: 150.7 kB / 0.5987 GB, free: 5.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.154, allocations: 0 / 0.5987 GB, free: 5.996 MB / 394.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