Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.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.TestScalarFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000971/0.0009713, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009973/0.0009973, allocations: 93.23 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.245e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 63.25 MB / 0.5114 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.519, allocations: 87.53 MB / 0.5969 GB, free: 5.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.5192, allocations: 63.09 kB / 0.597 GB, free: 5.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02094/0.5402, allocations: 7.918 MB / 0.6047 GB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5402, allocations: 0 / 0.6047 GB, free: 15.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.5402, allocations: 0 / 0.6047 GB, free: 15.37 MB / 410.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.0003485/0.5406, allocations: 407.2 kB / 0.6051 GB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5406, allocations: 11.97 kB / 0.6051 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.5407, allocations: 34.56 kB / 0.6052 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.5407, allocations: 0 / 0.6052 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.5408, allocations: 163 kB / 0.6053 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5408, allocations: 3.938 kB / 0.6053 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.5408, allocations: 4 kB / 0.6053 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.711e-05/0.5409, allocations: 25.7 kB / 0.6053 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5409, allocations: 0 / 0.6053 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.541, allocations: 0 / 0.6053 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.541, allocations: 4 kB / 0.6053 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.541, allocations: 7.562 kB / 0.6054 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.5411, allocations: 153.6 kB / 0.6055 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.793e-05/0.5412, allocations: 22.55 kB / 0.6055 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.5412, allocations: 4.859 kB / 0.6055 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.5412, allocations: 0 / 0.6055 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.5413, allocations: 63.52 kB / 0.6056 GB, free: 14.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5413, allocations: 0 / 0.6056 GB, free: 14.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.5414, allocations: 63.39 kB / 0.6056 GB, free: 14.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.5415, allocations: 77.11 kB / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.429e-05/0.5415, allocations: 85 kB / 0.6058 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5416, allocations: 29.7 kB / 0.6058 GB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.5416, allocations: 84.08 kB / 0.6059 GB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.5416, allocations: 3.812 kB / 0.6059 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.5416, allocations: 0 / 0.6059 GB, free: 13.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.5417, allocations: 310.8 kB / 0.6062 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.5417, allocations: 32 / 0.6062 GB, free: 13.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.5418, allocations: 15.88 kB / 0.6062 GB, free: 13.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.5418, allocations: 25.7 kB / 0.6063 GB, free: 13.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5418, allocations: 3.953 kB / 0.6063 GB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.613e-05/0.5419, allocations: 63.39 kB / 0.6063 GB, free: 13.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5419, allocations: 31.27 kB / 0.6063 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5419, allocations: 0 / 0.6063 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5419, allocations: 0 / 0.6063 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.5419, allocations: 4 kB / 0.6063 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5419, allocations: 96 / 0.6063 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/0.542, allocations: 4 kB / 0.6064 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.542, allocations: 0 / 0.6064 GB, free: 13.45 MB / 410.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 7.599e-05/0.5421, allocations: 138.4 kB / 0.6065 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.5421, allocations: 7.938 kB / 0.6065 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.5421, allocations: 7.078 kB / 0.6065 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.5421, allocations: 0 / 0.6065 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5421, allocations: 0 / 0.6065 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5421, allocations: 0 / 0.6065 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.5422, allocations: 145.7 kB / 0.6066 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5422, allocations: 4 kB / 0.6066 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-06/0.5422, allocations: 11.88 kB / 0.6067 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5422, allocations: 0 / 0.6067 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.5422, allocations: 0 / 0.6067 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.5422, allocations: 0 / 0.6067 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5422, allocations: 0 / 0.6067 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/0.5423, allocations: 86.03 kB / 0.6067 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.5424, allocations: 81.09 kB / 0.6068 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.5424, allocations: 11.98 kB / 0.6068 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.5424, allocations: 0 / 0.6068 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.5424, allocations: 0 / 0.6068 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.5424, allocations: 0 / 0.6068 GB, free: 12.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.5425, allocations: 78.78 kB / 0.6069 GB, free: 12.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5425, allocations: 0 / 0.6069 GB, free: 12.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.5427, allocations: 12 kB / 0.6069 GB, free: 12.79 MB / 410.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.0004756/0.5432, allocations: 0.6441 MB / 0.6075 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.5432, allocations: 63.39 kB / 0.6076 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5433, allocations: 0 / 0.6076 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.5433, allocations: 63.16 kB / 0.6077 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.464e-05/0.5434, allocations: 8.109 kB / 0.6077 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.5436, allocations: 78.66 kB / 0.6077 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.5438, allocations: 0.6731 MB / 0.6084 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.472e-06/0.5438, allocations: 4 kB / 0.6084 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.5439, allocations: 7.438 kB / 0.6084 GB, free: 11.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5439, allocations: 0 / 0.6084 GB, free: 11.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.5547, allocations: 0.8252 MB / 0.6092 GB, free: 10.42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.5549, allocations: 180.9 kB / 0.6094 GB, free: 10.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.972, allocations: 0 / 0.6094 GB, free: 10.2 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat