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.001621/0.001621, allocations: 197.8 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.6/1.6, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009792/0.0009793, allocations: 103.5 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4832/0.4832, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 4 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4392, allocations: 63.25 MB / 0.5193 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.5815, allocations: 87.6 MB / 0.6048 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.5818, allocations: 67.94 kB / 0.6049 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02189/0.6037, allocations: 7.928 MB / 0.6126 GB, free: 7.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6037, allocations: 0 / 0.6126 GB, free: 7.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.6037, allocations: 0 / 0.6126 GB, free: 7.812 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.0004316/0.6042, allocations: 412.7 kB / 0.613 GB, free: 7.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6042, allocations: 12.03 kB / 0.613 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.6043, allocations: 34.5 kB / 0.6131 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.037e-05/0.6043, allocations: 0 / 0.6131 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6044, allocations: 163 kB / 0.6132 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.6044, allocations: 4 kB / 0.6132 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.6044, allocations: 4 kB / 0.6132 GB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.303e-05/0.6045, allocations: 33.69 kB / 0.6133 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-06/0.6045, allocations: 0 / 0.6133 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.6045, allocations: 0 / 0.6133 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.6046, allocations: 0 / 0.6133 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.6046, allocations: 7.984 kB / 0.6133 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.6047, allocations: 145.6 kB / 0.6134 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.6048, allocations: 22.52 kB / 0.6134 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.6048, allocations: 4.094 kB / 0.6134 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.6048, allocations: 60.27 kB / 0.6135 GB, free: 6.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.6048, allocations: 0 / 0.6135 GB, free: 6.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.605, allocations: 67.33 kB / 0.6135 GB, free: 6.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.605, allocations: 81.05 kB / 0.6136 GB, free: 6.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.6051, allocations: 85 kB / 0.6137 GB, free: 6.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.6051, allocations: 25.7 kB / 0.6137 GB, free: 6.449 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.6052, allocations: 84.27 kB / 0.6138 GB, free: 6.363 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.6052, allocations: 0 / 0.6138 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.6052, allocations: 4 kB / 0.6138 GB, free: 6.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6053, allocations: 314.8 kB / 0.6141 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.6054, allocations: 0 / 0.6141 GB, free: 6.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.6054, allocations: 0 / 0.6141 GB, free: 6.043 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.6054, allocations: 37.62 kB / 0.6141 GB, free: 6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6054, allocations: 0 / 0.6141 GB, free: 6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.564e-05/0.6055, allocations: 63.42 kB / 0.6142 GB, free: 5.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6055, allocations: 33.7 kB / 0.6142 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.6055, allocations: 0 / 0.6142 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.6055, allocations: 0 / 0.6142 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.6055, allocations: 4 kB / 0.6142 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.6056, allocations: 0 / 0.6142 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.6056, allocations: 0 / 0.6142 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.6056, allocations: 7.984 kB / 0.6143 GB, free: 5.875 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 9.44e-05/0.6057, allocations: 143.5 kB / 0.6144 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.6057, allocations: 7.984 kB / 0.6144 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.127e-05/0.6057, allocations: 6.719 kB / 0.6144 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.6057, allocations: 4 kB / 0.6144 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6057, allocations: 0 / 0.6144 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.6057, allocations: 0 / 0.6144 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.6059, allocations: 145.7 kB / 0.6145 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6059, allocations: 0 / 0.6145 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.6059, allocations: 0 / 0.6145 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6059, allocations: 3.953 kB / 0.6145 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.6059, allocations: 4 kB / 0.6146 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6059, allocations: 0 / 0.6146 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6059, allocations: 4 kB / 0.6146 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.606, allocations: 90.83 kB / 0.6146 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.6061, allocations: 77.11 kB / 0.6147 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.6061, allocations: 3.953 kB / 0.6147 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.6061, allocations: 0 / 0.6147 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.6061, allocations: 0 / 0.6147 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.6061, allocations: 7.938 kB / 0.6147 GB, free: 5.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.865e-05/0.6062, allocations: 79.31 kB / 0.6148 GB, free: 5.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6062, allocations: 0 / 0.6148 GB, free: 5.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.6064, allocations: 8 kB / 0.6148 GB, free: 5.195 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.0005392/0.6069, allocations: 0.6495 MB / 0.6154 GB, free: 4.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.731e-05/0.607, allocations: 55.41 kB / 0.6155 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.607, allocations: 3.938 kB / 0.6155 GB, free: 4.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.6071, allocations: 63.33 kB / 0.6156 GB, free: 4.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.67e-05/0.6072, allocations: 3.953 kB / 0.6156 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.6074, allocations: 108.4 kB / 0.6157 GB, free: 4.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.6077, allocations: 0.677 MB / 0.6163 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.991e-06/0.6077, allocations: 4.125 kB / 0.6163 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.6077, allocations: 7.438 kB / 0.6163 GB, free: 3.504 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6077, allocations: 0 / 0.6163 GB, free: 3.504 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.6195, allocations: 0.8282 MB / 0.6172 GB, free: 2.781 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.6197, allocations: 207.3 kB / 0.6173 GB, free: 2.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.198, allocations: 3.938 kB / 0.6174 GB, free: 2.539 MB / 426.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