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.001073/0.001073, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009567/0.0009571, allocations: 92.16 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.74e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4733, allocations: 76.94 MB / 472.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4735, allocations: 67.28 kB / 472.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008335/0.4819, allocations: 2.936 MB / 475.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4819, allocations: 0 / 475.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.4819, allocations: 7.984 kB / 475.2 MB, free: 12.75 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.0004664/0.4824, allocations: 445.4 kB / 475.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4825, allocations: 12.03 kB / 475.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.4827, allocations: 48.72 kB / 475.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4829, allocations: 231.9 kB / 475.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.483, allocations: 8 kB / 475.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.483, allocations: 11.75 kB / 475.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001346/0.4831, allocations: 60.84 kB / 476 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.4834, allocations: 135.4 kB / 476.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4834, allocations: 3.938 kB / 476.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4834, allocations: 4 kB / 476.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4834, allocations: 0 / 476.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.4842, allocations: 0.6002 MB / 476.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.4844, allocations: 117.6 kB / 476.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4844, allocations: 42.61 kB / 476.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4844, allocations: 4 kB / 476.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.4845, allocations: 35.95 kB / 476.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.4845, allocations: 0 / 476.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002561/0.4847, allocations: 116.1 kB / 477.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4848, allocations: 112.1 kB / 477.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4849, allocations: 158.5 kB / 477.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4849, allocations: 25.7 kB / 477.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.485, allocations: 135.9 kB / 477.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.485, allocations: 46 kB / 477.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.485, allocations: 0 / 477.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.4851, allocations: 327 kB / 477.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.4851, allocations: 35.11 kB / 477.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.4852, allocations: 74.75 kB / 477.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.4853, allocations: 42.47 kB / 478 MB, free: 10.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4853, allocations: 4 kB / 478 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001899/0.4855, allocations: 141.9 kB / 478.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4855, allocations: 13.05 kB / 478.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4855, allocations: 0 / 478.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4855, allocations: 4 kB / 478.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4857, allocations: 42.73 kB / 478.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4857, allocations: 5.594 kB / 478.2 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.4858, allocations: 17.06 kB / 478.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4858, allocations: 12.19 kB / 478.2 MB, free: 9.969 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.422e-05/0.4859, allocations: 101 kB / 478.3 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001823/0.4861, allocations: 115 kB / 478.4 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.4862, allocations: 19.12 kB / 478.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.4864, allocations: 157.6 kB / 478.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4864, allocations: 0 / 478.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4864, allocations: 0 / 478.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4864, allocations: 5.453 kB / 478.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.4868, allocations: 229.8 kB / 478.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4868, allocations: 1.688 kB / 478.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.487, allocations: 33.02 kB / 478.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.487, allocations: 4 kB / 478.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.487, allocations: 3.953 kB / 478.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.487, allocations: 10.48 kB / 478.9 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.487, allocations: 7.953 kB / 478.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.4873, allocations: 446.9 kB / 479.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.4874, allocations: 101 kB / 479.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4874, allocations: 8 kB / 479.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4876, allocations: 5.453 kB / 479.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.4876, allocations: 8.781 kB / 479.5 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4876, allocations: 14.12 kB / 479.5 MB, free: 8.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.221e-05/0.4877, allocations: 130.7 kB / 479.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4877, allocations: 0 / 479.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.4881, allocations: 39.78 kB / 479.6 MB, free: 8.703 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.0004572/0.4885, allocations: 1.122 MB / 480.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4887, allocations: 91.62 kB / 480.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4887, allocations: 4.062 kB / 480.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/0.4888, allocations: 44.06 kB / 480.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.489, allocations: 9.188 kB / 480.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4901, allocations: 0.5909 MB / 481.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.4903, allocations: 0.7486 MB / 482.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.4904, allocations: 17.81 kB / 482.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.4905, allocations: 66.69 kB / 482.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4905, allocations: 0 / 482.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.5112, allocations: 2.619 MB / 484.9 MB, free: 4.207 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.5114, allocations: 125.5 kB / 485.1 MB, free: 4.016 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.174, allocations: 0 / 485.1 MB, free: 4.016 MB / 346.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