Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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) 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(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000927/0.0009271, allocations: 88.44 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.803e-05, allocations: 4 kB / 350.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 51.49 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.5001, allocations: 76.96 MB / 479.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5005, allocations: 60.84 kB / 479.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005237/0.5057, allocations: 1.651 MB / 480.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5058, allocations: 0 / 480.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.619e-06/0.5058, allocations: 0 / 480.8 MB, free: 11.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004379/0.5062, allocations: 384.7 kB / 481.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.5063, allocations: 16.62 kB / 481.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.5064, allocations: 30.56 kB / 481.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.5066, allocations: 40 kB / 481.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5068, allocations: 173 kB / 481.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.5068, allocations: 4 kB / 481.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5068, allocations: 4.969 kB / 481.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.507, allocations: 71.55 kB / 481.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.507, allocations: 1.594 kB / 481.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.507, allocations: 4 kB / 481.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.507, allocations: 0 / 481.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.5071, allocations: 25.38 kB / 481.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.5073, allocations: 188.6 kB / 481.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.5074, allocations: 78.92 kB / 481.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.5074, allocations: 29.38 kB / 481.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5075, allocations: 0 / 481.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.5075, allocations: 38.5 kB / 481.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.5075, allocations: 0 / 481.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001921/0.5077, allocations: 79.64 kB / 481.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5077, allocations: 102.8 kB / 482 MB, free: 9.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.5078, allocations: 115.1 kB / 482.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.5079, allocations: 29.7 kB / 482.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.5079, allocations: 88.7 kB / 482.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.5079, allocations: 15.75 kB / 482.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.5079, allocations: 0 / 482.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.508, allocations: 320.3 kB / 482.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.508, allocations: 18.78 kB / 482.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.5081, allocations: 33.06 kB / 482.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.5081, allocations: 15.38 kB / 482.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5081, allocations: 0 / 482.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.5083, allocations: 80.03 kB / 482.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5083, allocations: 9.656 kB / 482.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5083, allocations: 4.812 kB / 482.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5083, allocations: 0 / 482.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.5085, allocations: 19.98 kB / 482.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5085, allocations: 0 / 482.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.5086, allocations: 15.98 kB / 482.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5086, allocations: 0 / 482.8 MB, free: 8.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 6.263e-05/0.5087, allocations: 116.3 kB / 482.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.5087, allocations: 12.66 kB / 482.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.5087, allocations: 7.594 kB / 482.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5087, allocations: 4.625 kB / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5088, allocations: 0 / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5088, allocations: 2.156 kB / 482.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.439e-05/0.5089, allocations: 176.6 kB / 483.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5089, allocations: 1.438 kB / 483.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.509, allocations: 31.91 kB / 483.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.509, allocations: 0 / 483.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.509, allocations: 14.8 kB / 483.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.509, allocations: 0 / 483.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.509, allocations: 0 / 483.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.5092, allocations: 132.2 kB / 483.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.5092, allocations: 81.11 kB / 483.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5093, allocations: 3.984 kB / 483.4 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.5094, allocations: 15.98 kB / 483.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.5094, allocations: 7.875 kB / 483.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5094, allocations: 8.5 kB / 483.4 MB, free: 8.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.5095, allocations: 99.3 kB / 483.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5095, allocations: 0 / 483.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.5097, allocations: 19.06 kB / 483.5 MB, free: 8.117 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0003533/0.5101, allocations: 0.7982 MB / 484.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.5102, allocations: 30.55 kB / 484.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5102, allocations: 0 / 484.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.5103, allocations: 27.23 kB / 484.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.5104, allocations: 4.844 kB / 484.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.5109, allocations: 161.2 kB / 484.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.511, allocations: 0.6887 MB / 485.2 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.5111, allocations: 4 kB / 485.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.5111, allocations: 21.73 kB / 485.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of SimCode: time 1.452e-06/0.5111, allocations: 0 / 485.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.5225, allocations: 1.412 MB / 486.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.5227, allocations: 147.7 kB / 486.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.029, allocations: 0 / 486.8 MB, free: 4.906 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat