Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.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.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.001621, allocations: 196.8 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.529/1.529, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009675/0.0009673, allocations: 87.83 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.164e-05, allocations: 0 / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 51.49 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3882/0.5007, allocations: 77.62 MB / 479.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.501, allocations: 67.59 kB / 479.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007692/0.5087, allocations: 2.943 MB / 482.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5088, allocations: 3.719 kB / 482.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.5088, allocations: 7.984 kB / 482.7 MB, free: 9.379 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004192/0.5092, allocations: 450 kB / 483.2 MB, free: 8.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5093, allocations: 12.03 kB / 483.2 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.5093, allocations: 45.11 kB / 483.2 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.5095, allocations: 47.69 kB / 483.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.5098, allocations: 231.6 kB / 483.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5098, allocations: 11.56 kB / 483.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.5098, allocations: 15 kB / 483.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.51, allocations: 153.4 kB / 483.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5101, allocations: 4 kB / 483.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.5101, allocations: 3.125 kB / 483.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5101, allocations: 4 kB / 483.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.5102, allocations: 65.86 kB / 483.8 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.5111, allocations: 0.6559 MB / 484.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.5112, allocations: 118.5 kB / 484.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.5113, allocations: 44.02 kB / 484.6 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.5113, allocations: 11.89 kB / 484.6 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.5113, allocations: 45.59 kB / 484.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.5113, allocations: 0 / 484.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002762/0.5116, allocations: 116.7 kB / 484.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5117, allocations: 102.8 kB / 484.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5118, allocations: 205.6 kB / 485.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5119, allocations: 33.02 kB / 485.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.5119, allocations: 133.1 kB / 485.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.5119, allocations: 50.67 kB / 485.3 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.512, allocations: 3.938 kB / 485.3 MB, free: 6.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.512, allocations: 334.7 kB / 485.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.5121, allocations: 27.38 kB / 485.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.5122, allocations: 86.3 kB / 485.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.5122, allocations: 40.05 kB / 485.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5123, allocations: 0 / 485.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002053/0.5125, allocations: 165.6 kB / 485.9 MB, free: 6.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5125, allocations: 13.7 kB / 485.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5125, allocations: 7.062 kB / 485.9 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5125, allocations: 4 kB / 485.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.5127, allocations: 36.81 kB / 486 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5127, allocations: 3.938 kB / 486 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.5128, allocations: 19.47 kB / 486 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5128, allocations: 11.98 kB / 486 MB, free: 6.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 5.022e-05/0.5129, allocations: 116.5 kB / 486.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.5129, allocations: 15.81 kB / 486.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.5132, allocations: 179.5 kB / 486.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5132, allocations: 0 / 486.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5132, allocations: 4 kB / 486.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5132, allocations: 2.438 kB / 486.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.5136, allocations: 264.3 kB / 486.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5136, allocations: 4 kB / 486.6 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.5138, allocations: 31.98 kB / 486.6 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5138, allocations: 4 kB / 486.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.5138, allocations: 7.703 kB / 486.6 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5138, allocations: 15.48 kB / 486.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5138, allocations: 0 / 486.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.5141, allocations: 467.6 kB / 487.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.5142, allocations: 100.7 kB / 487.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.5142, allocations: 11.61 kB / 487.2 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5144, allocations: 7.938 kB / 487.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5145, allocations: 11.98 kB / 487.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.5145, allocations: 4 kB / 487.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.5146, allocations: 171.2 kB / 487.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5146, allocations: 4 kB / 487.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00031/0.5149, allocations: 43.72 kB / 487.4 MB, free: 4.852 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005089/0.5154, allocations: 1.143 MB / 488.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.5156, allocations: 90.86 kB / 488.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5156, allocations: 0 / 488.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.5157, allocations: 63.05 kB / 488.7 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.5159, allocations: 8.375 kB / 488.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.5169, allocations: 0.6038 MB / 489.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.5171, allocations: 0.7533 MB / 490.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.558e-05/0.5171, allocations: 21.31 kB / 490.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.5172, allocations: 69.28 kB / 490.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5172, allocations: 0 / 490.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.5307, allocations: 3.301 MB / 493.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.5309, allocations: 134.5 kB / 493.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.353, allocations: 0 / 493.6 MB, free: 14.88 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Modulation.fmu > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat does not exist to compare? outputFormat=mat