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.001221/0.001221, allocations: 198.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.413/1.413, 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.000894/0.000894, allocations: 93.98 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.821e-05, allocations: 3.984 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.6097, allocations: 86.86 MB / 0.5893 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.61, allocations: 58.11 kB / 0.5893 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02091/0.6309, allocations: 7.903 MB / 0.5971 GB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.631, allocations: 0 / 0.5971 GB, free: 8.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.631, allocations: 0 / 0.5971 GB, free: 8.887 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.0003849/0.6314, allocations: 406.4 kB / 0.5974 GB, free: 8.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6314, allocations: 12.03 kB / 0.5975 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.6315, allocations: 0 / 0.5975 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.6316, allocations: 163 kB / 0.5976 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6316, allocations: 0 / 0.5976 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.6316, allocations: 4 kB / 0.5976 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.379e-05/0.6316, allocations: 3.984 kB / 0.5976 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.462e-05/0.6317, allocations: 29.7 kB / 0.5976 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.6317, allocations: 0 / 0.5976 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.6317, allocations: 0 / 0.5976 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6317, allocations: 4 kB / 0.5977 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.6319, allocations: 126.2 kB / 0.5978 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.6319, allocations: 25.98 kB / 0.5978 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.6319, allocations: 8.859 kB / 0.5978 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.632, allocations: 0 / 0.5978 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.632, allocations: 60.25 kB / 0.5979 GB, free: 7.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.632, allocations: 64 / 0.5979 GB, free: 7.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.6322, allocations: 33.7 kB / 0.5979 GB, free: 7.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.6323, allocations: 77.11 kB / 0.598 GB, free: 7.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.368e-05/0.6323, allocations: 88.94 kB / 0.5981 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.6323, allocations: 29.73 kB / 0.5981 GB, free: 7.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.6323, allocations: 80.14 kB / 0.5982 GB, free: 7.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.6324, allocations: 4 kB / 0.5982 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.6324, allocations: 0 / 0.5982 GB, free: 7.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6325, allocations: 311.7 kB / 0.5985 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-06/0.6325, allocations: 0 / 0.5985 GB, free: 7.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.6325, allocations: 7.922 kB / 0.5985 GB, free: 7.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.6326, allocations: 7.938 kB / 0.5985 GB, free: 7.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6326, allocations: 0 / 0.5985 GB, free: 7.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.174e-05/0.6326, allocations: 37.72 kB / 0.5985 GB, free: 7.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.6327, allocations: 33.7 kB / 0.5985 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6327, allocations: 0 / 0.5985 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6327, allocations: 3.984 kB / 0.5985 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-06/0.6327, allocations: 7.922 kB / 0.5986 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.6327, allocations: 0 / 0.5986 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.6328, allocations: 0 / 0.5986 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.6328, allocations: 4 kB / 0.5986 GB, free: 7.141 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 8.416e-05/0.6329, allocations: 129.7 kB / 0.5987 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.106e-05/0.6329, allocations: 45.62 kB / 0.5987 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.6329, allocations: 7.984 kB / 0.5987 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.633, allocations: 7.703 kB / 0.5987 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.633, allocations: 0 / 0.5987 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.633, allocations: 0 / 0.5987 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.633, allocations: 0 / 0.5987 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.286e-05/0.6331, allocations: 126.1 kB / 0.5989 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6331, allocations: 0 / 0.5989 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-06/0.6331, allocations: 4 kB / 0.5989 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.6331, allocations: 3.953 kB / 0.5989 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.6331, allocations: 4.031 kB / 0.5989 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6331, allocations: 3.984 kB / 0.5989 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6331, allocations: 0 / 0.5989 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.6332, allocations: 57.14 kB / 0.5989 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.6333, allocations: 77.11 kB / 0.599 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.6333, allocations: 7.938 kB / 0.599 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-06/0.6333, allocations: 0 / 0.599 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.6333, allocations: 7.906 kB / 0.599 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.6333, allocations: 4 kB / 0.599 GB, free: 6.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.215e-05/0.6334, allocations: 79.22 kB / 0.5991 GB, free: 6.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6334, allocations: 0 / 0.5991 GB, free: 6.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.6336, allocations: 8 kB / 0.5991 GB, free: 6.5 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.0004847/0.6341, allocations: 0.6114 MB / 0.5997 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.118e-05/0.6342, allocations: 55.41 kB / 0.5998 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6342, allocations: 4 kB / 0.5998 GB, free: 5.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.6342, allocations: 59.33 kB / 0.5998 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.513e-05/0.6343, allocations: 7.953 kB / 0.5998 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.6346, allocations: 81.67 kB / 0.5999 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.6348, allocations: 0.6768 MB / 0.6006 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.6348, allocations: 0 / 0.6006 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.6348, allocations: 7.438 kB / 0.6006 GB, free: 4.891 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6348, allocations: 0 / 0.6006 GB, free: 4.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.6547, allocations: 0.5486 MB / 0.6011 GB, free: 4.355 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.6549, allocations: 156.2 kB / 0.6013 GB, free: 4.168 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.414/2.069, allocations: 0 / 0.6013 GB, free: 4.168 MB / 394.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