Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009568/0.0009569, allocations: 97.62 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.664e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5359, allocations: 90.15 MB / 0.5925 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5362, allocations: 65.78 kB / 0.5925 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02978/0.566, allocations: 10.1 MB / 0.6024 GB, free: 3.949 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5661, allocations: 4 kB / 0.6024 GB, free: 3.945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.5661, allocations: 0 / 0.6024 GB, free: 3.945 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.0007042/0.5668, allocations: 482.8 kB / 0.6029 GB, free: 3.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5669, allocations: 8.031 kB / 0.6029 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.5669, allocations: 4 kB / 0.6029 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.567, allocations: 163 kB / 0.603 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.567, allocations: 3.938 kB / 0.603 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.5671, allocations: 0 / 0.603 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.146e-05/0.5671, allocations: 0 / 0.603 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.893e-05/0.5672, allocations: 41.19 kB / 0.6031 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5672, allocations: 3.984 kB / 0.6031 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5672, allocations: 0 / 0.6031 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5672, allocations: 0 / 0.6031 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.5674, allocations: 126.2 kB / 0.6032 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.34e-05/0.5674, allocations: 18.61 kB / 0.6032 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.5674, allocations: 4.859 kB / 0.6032 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.5675, allocations: 0 / 0.6032 GB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.5675, allocations: 64.2 kB / 0.6033 GB, free: 2.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.5675, allocations: 0 / 0.6033 GB, free: 2.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001887/0.5677, allocations: 41.25 kB / 0.6033 GB, free: 2.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.5678, allocations: 77.11 kB / 0.6034 GB, free: 2.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.5678, allocations: 85 kB / 0.6035 GB, free: 2.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5679, allocations: 25.7 kB / 0.6035 GB, free: 2.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.5679, allocations: 80.14 kB / 0.6036 GB, free: 2.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.5679, allocations: 3.969 kB / 0.6036 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5679, allocations: 8 kB / 0.6036 GB, free: 2.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5681, allocations: 310.8 kB / 0.6039 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.5681, allocations: 0 / 0.6039 GB, free: 2.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.5681, allocations: 0 / 0.6039 GB, free: 2.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.5682, allocations: 7.688 kB / 0.6039 GB, free: 2.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5682, allocations: 4 kB / 0.6039 GB, free: 2.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.611e-05/0.5683, allocations: 41.58 kB / 0.6039 GB, free: 2.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.5683, allocations: 29.7 kB / 0.604 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5683, allocations: 8.094 kB / 0.604 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5683, allocations: 0.8125 kB / 0.604 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.5683, allocations: 0 / 0.604 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.5684, allocations: 0 / 0.604 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.5684, allocations: 0 / 0.604 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5684, allocations: 0 / 0.604 GB, free: 2.133 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 9.525e-05/0.5685, allocations: 134.7 kB / 0.6041 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.195e-05/0.5686, allocations: 37.66 kB / 0.6041 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.5686, allocations: 7.312 kB / 0.6041 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.5686, allocations: 11.73 kB / 0.6042 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5686, allocations: 0 / 0.6042 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5686, allocations: 4 kB / 0.6042 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5686, allocations: 0 / 0.6042 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.577e-05/0.5687, allocations: 126.2 kB / 0.6043 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5687, allocations: 0 / 0.6043 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-06/0.5688, allocations: 7.891 kB / 0.6043 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5688, allocations: 0 / 0.6043 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5688, allocations: 4 kB / 0.6043 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5688, allocations: 0 / 0.6043 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5688, allocations: 0 / 0.6043 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.732e-05/0.5689, allocations: 64.75 kB / 0.6044 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.5689, allocations: 77.11 kB / 0.6044 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.569, allocations: 7.953 kB / 0.6044 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.569, allocations: 0 / 0.6044 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.569, allocations: 0 / 0.6044 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.569, allocations: 0 / 0.6044 GB, free: 1.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.569, allocations: 75.31 kB / 0.6045 GB, free: 1.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5691, allocations: 4 kB / 0.6045 GB, free: 1.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007503/0.5698, allocations: 201.3 kB / 0.6047 GB, free: 1.32 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.001385/0.5712, allocations: 0.9131 MB / 0.6056 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.799e-05/0.5713, allocations: 59.34 kB / 0.6057 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5713, allocations: 0 / 0.6057 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.5713, allocations: 59.39 kB / 0.6057 GB, free: 276 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.413e-05/0.5714, allocations: 11.08 kB / 0.6057 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.5719, allocations: 181.3 kB / 0.6059 GB, free: 48 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.5722, allocations: 0.6768 MB / 0.6066 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.5722, allocations: 0 / 0.6066 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.5723, allocations: 11.44 kB / 0.6066 GB, free: 15.33 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.5723, allocations: 0 / 0.6066 GB, free: 15.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.6008, allocations: 5.019 MB / 0.6115 GB, free: 10.34 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.601, allocations: 163.6 kB / 0.6116 GB, free: 10.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.186, allocations: 0 / 0.6116 GB, free: 10.15 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat