Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001464, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008465, allocations: 85.36 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.637e-05, allocations: 4.203 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5638, allocations: 89.02 MB / 0.5817 GB, free: 7.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5641, allocations: 63.97 kB / 0.5818 GB, free: 7.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02895/0.5931, allocations: 9.834 MB / 0.5914 GB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5931, allocations: 8 kB / 0.5914 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.5932, allocations: 0 / 0.5914 GB, free: 13.54 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.000688/0.5939, allocations: 467.9 kB / 0.5918 GB, free: 13.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.062e-05/0.5939, allocations: 11.98 kB / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.594, allocations: 0 / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.5941, allocations: 167 kB / 0.592 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5942, allocations: 0 / 0.592 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.5942, allocations: 7.891 kB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.605e-05/0.5943, allocations: 4.547 kB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/0.5943, allocations: 33.7 kB / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5944, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5944, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5944, allocations: 3.984 kB / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.5946, allocations: 126.2 kB / 0.5922 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.5946, allocations: 22.55 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.5946, allocations: 4.859 kB / 0.5922 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5947, allocations: 4 kB / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.679e-05/0.5948, allocations: 64.19 kB / 0.5922 GB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5948, allocations: 0 / 0.5922 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002642/0.595, allocations: 37.72 kB / 0.5923 GB, free: 12.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.5951, allocations: 77.11 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.5952, allocations: 89 kB / 0.5924 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5952, allocations: 25.7 kB / 0.5925 GB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.5952, allocations: 80.14 kB / 0.5925 GB, free: 12.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.5953, allocations: 4.031 kB / 0.5925 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5953, allocations: 0 / 0.5925 GB, free: 12.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5954, allocations: 314.8 kB / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.5955, allocations: 0 / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.5955, allocations: 0 / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.5955, allocations: 3.984 kB / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5955, allocations: 0 / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.044e-05/0.5956, allocations: 37.64 kB / 0.5929 GB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.5956, allocations: 31.2 kB / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5957, allocations: 8 kB / 0.5929 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5957, allocations: 4 kB / 0.5929 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.5957, allocations: 0 / 0.5929 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5957, allocations: 3.953 kB / 0.5929 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.5957, allocations: 0 / 0.5929 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5957, allocations: 0 / 0.5929 GB, free: 11.71 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 9.553e-05/0.5958, allocations: 138.7 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.973e-05/0.5959, allocations: 33.7 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.5959, allocations: 3.969 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.596, allocations: 15.66 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.596, allocations: 0 / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.596, allocations: 3.984 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.596, allocations: 4 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.017e-05/0.5961, allocations: 122.2 kB / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5961, allocations: 0 / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-06/0.5961, allocations: 0 / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.5961, allocations: 3.938 kB / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.5961, allocations: 0 / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.5961, allocations: 0 / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5961, allocations: 11.95 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.794e-05/0.5962, allocations: 61.12 kB / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.5963, allocations: 77.11 kB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.5963, allocations: 0 / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/0.5963, allocations: 7.938 kB / 0.5934 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.5963, allocations: 0 / 0.5934 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5964, allocations: 7.938 kB / 0.5934 GB, free: 11.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.5964, allocations: 79.31 kB / 0.5935 GB, free: 11.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5964, allocations: 0 / 0.5935 GB, free: 11.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007154/0.5971, allocations: 179.8 kB / 0.5936 GB, free: 10.89 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.001141/0.5983, allocations: 0.8842 MB / 0.5945 GB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.5984, allocations: 59.39 kB / 0.5946 GB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5984, allocations: 0 / 0.5946 GB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.5984, allocations: 59.47 kB / 0.5946 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.667e-05/0.5985, allocations: 4.062 kB / 0.5946 GB, free: 9.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.5989, allocations: 173.3 kB / 0.5948 GB, free: 9.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5992, allocations: 0.6768 MB / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.411e-06/0.5992, allocations: 0 / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.5992, allocations: 7.438 kB / 0.5955 GB, free: 8.914 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5992, allocations: 0 / 0.5955 GB, free: 8.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.6236, allocations: 4.679 MB / 0.6 GB, free: 4.242 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.6238, allocations: 172.7 kB / 0.6002 GB, free: 4.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.225, allocations: 7.938 kB / 0.6002 GB, free: 4.039 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat