Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions",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.001072/0.001072, allocations: 179.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 236 MB, free: 2.992 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.001057/0.001058, allocations: 87.8 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2666/0.2666, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.831e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1808, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/0.6881, allocations: 86.46 MB / 0.5862 GB, free: 2.707 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.6884, allocations: 63.97 kB / 0.5863 GB, free: 2.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.7072, allocations: 6.466 MB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7073, allocations: 4 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.7073, allocations: 4 kB / 0.5926 GB, free: 12.18 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.0003854/0.7077, allocations: 364.2 kB / 0.593 GB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.7078, allocations: 11.97 kB / 0.593 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.7078, allocations: 34.56 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.7078, allocations: 0 / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.7079, allocations: 159.1 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.7079, allocations: 4 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.708, allocations: 3.953 kB / 0.5932 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.967e-05/0.7081, allocations: 33.69 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7081, allocations: 4 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.7081, allocations: 0 / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7081, allocations: 0 / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.7081, allocations: 0 / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.7082, allocations: 145.7 kB / 0.5933 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.7083, allocations: 18.52 kB / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.7083, allocations: 8.953 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.7083, allocations: 7.938 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.7084, allocations: 72.2 kB / 0.5934 GB, free: 11.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.7084, allocations: 0 / 0.5934 GB, free: 11.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.7086, allocations: 59.41 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.7086, allocations: 81.05 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.059e-05/0.7086, allocations: 85 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.7087, allocations: 25.7 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.7087, allocations: 80.14 kB / 0.5937 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.7087, allocations: 4.031 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.7087, allocations: 4 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7088, allocations: 318.8 kB / 0.5941 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.7089, allocations: 0 / 0.5941 GB, free: 10.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.7089, allocations: 0 / 0.5941 GB, free: 10.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.7089, allocations: 29.7 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7089, allocations: 3.938 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.739e-05/0.709, allocations: 55.41 kB / 0.5941 GB, free: 10.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.709, allocations: 37.8 kB / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7091, allocations: 0 / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.7091, allocations: 7.938 kB / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.7091, allocations: 0 / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7091, allocations: 0 / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.7091, allocations: 0 / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.7091, allocations: 4 kB / 0.5942 GB, free: 10.29 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 8.567e-05/0.7092, allocations: 130.6 kB / 0.5943 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.7092, allocations: 4 kB / 0.5943 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.7093, allocations: 11.08 kB / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7093, allocations: 7.953 kB / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7093, allocations: 0 / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7093, allocations: 0 / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.7094, allocations: 145.7 kB / 0.5945 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.7094, allocations: 0 / 0.5945 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.7094, allocations: 0 / 0.5945 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.7094, allocations: 4 kB / 0.5945 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.7094, allocations: 0 / 0.5945 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.7094, allocations: 0 / 0.5945 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7095, allocations: 3.953 kB / 0.5945 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.7096, allocations: 94.83 kB / 0.5946 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.7096, allocations: 77.11 kB / 0.5946 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.7096, allocations: 0 / 0.5946 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-06/0.7097, allocations: 0 / 0.5946 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.7097, allocations: 0 / 0.5946 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.7097, allocations: 11.89 kB / 0.5947 GB, free: 9.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.7097, allocations: 79.22 kB / 0.5947 GB, free: 9.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7097, allocations: 4.031 kB / 0.5947 GB, free: 9.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.7099, allocations: 11.98 kB / 0.5948 GB, free: 9.602 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.0006/0.7106, allocations: 0.6415 MB / 0.5954 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.834e-05/0.7107, allocations: 63.44 kB / 0.5954 GB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7107, allocations: 0 / 0.5954 GB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.7107, allocations: 59.34 kB / 0.5955 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.7108, allocations: 6.766 kB / 0.5955 GB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.7111, allocations: 79.14 kB / 0.5956 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.7114, allocations: 0.6731 MB / 0.5962 GB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.616e-06/0.7114, allocations: 4 kB / 0.5962 GB, free: 7.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.7114, allocations: 7.438 kB / 0.5962 GB, free: 7.965 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7114, allocations: 4.125 kB / 0.5962 GB, free: 7.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.7249, allocations: 0.8333 MB / 0.5971 GB, free: 7.223 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.7252, allocations: 185.2 kB / 0.5972 GB, free: 6.996 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.29, allocations: 0 / 0.5972 GB, free: 6.996 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat