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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 93.38 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001193, allocations: 208.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002894, allocations: 12 kB / 306.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002201/0.116, allocations: 1.616 MB / 359.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.117, allocations: 0.5846 MB / 360.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.1171, allocations: 0 / 360.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.1171, allocations: 15.8 kB / 360.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1173, allocations: 55.84 kB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.1175, allocations: 51.88 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1177, allocations: 131.7 kB / 360.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1179, allocations: 52.34 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.118, allocations: 63.7 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.1182, allocations: 67.62 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1182, allocations: 4 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.097e-05/0.1183, allocations: 8 kB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.1183, allocations: 19.86 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.1184, allocations: 57.58 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1185, allocations: 116 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1185, allocations: 0 / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1185, allocations: 0 / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1186, allocations: 0 / 361 MB, free: 10.93 MB / 302.1 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.0006768/0.1192, allocations: 475.1 kB / 361.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1193, allocations: 11.97 kB / 361.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/0.1194, allocations: 46.55 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.1196, allocations: 47.69 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1199, allocations: 222.7 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1199, allocations: 12 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.12, allocations: 19.95 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1203, allocations: 160.2 kB / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1203, allocations: 0 / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.1203, allocations: 8 kB / 362 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1203, allocations: 0 / 362 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.1206, allocations: 103.9 kB / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.1215, allocations: 0.6332 MB / 362.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1217, allocations: 139.8 kB / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1218, allocations: 8 kB / 362.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1218, allocations: 30.56 kB / 362.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.1218, allocations: 0 / 362.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004969/0.1223, allocations: 197.4 kB / 363.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.1224, allocations: 102.8 kB / 363.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1226, allocations: 233 kB / 363.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1227, allocations: 25.7 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1228, allocations: 136 kB / 363.6 MB, free: 8.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.1228, allocations: 47.36 kB / 363.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.1229, allocations: 0 / 363.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.123, allocations: 338.8 kB / 364 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1231, allocations: 39.97 kB / 364 MB, free: 7.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1233, allocations: 98.84 kB / 364.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1234, allocations: 51.92 kB / 364.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1234, allocations: 0 / 364.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003368/0.1238, allocations: 197.1 kB / 364.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1238, allocations: 10.34 kB / 364.4 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1238, allocations: 0 / 364.4 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.1238, allocations: 4 kB / 364.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.124, allocations: 44.72 kB / 364.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.124, allocations: 0 / 364.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1241, allocations: 23.83 kB / 364.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1242, allocations: 4 kB / 364.4 MB, free: 7.23 MB / 302.1 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 () * Number of clocked 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 0.0001273/0.1243, allocations: 138.2 kB / 364.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.1244, allocations: 27.67 kB / 364.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.1248, allocations: 194.9 kB / 364.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1248, allocations: 7.938 kB / 364.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1248, allocations: 0 / 364.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1248, allocations: 0 / 364.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.1253, allocations: 273.4 kB / 365.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1253, allocations: 0 / 365.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.1255, allocations: 35.98 kB / 365.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1255, allocations: 0 / 365.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.1255, allocations: 15.94 kB / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1255, allocations: 80 / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1255, allocations: 3.984 kB / 365.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.1261, allocations: 0.4974 MB / 365.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.1262, allocations: 96.89 kB / 365.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1263, allocations: 4 kB / 365.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1265, allocations: 15.98 kB / 365.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.1265, allocations: 11.98 kB / 365.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1266, allocations: 8 kB / 365.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1267, allocations: 164.5 kB / 365.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1267, allocations: 0 / 365.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1271, allocations: 32 kB / 365.9 MB, free: 5.609 MB / 302.1 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 () * Number of clocked 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.001038/0.1281, allocations: 1.176 MB / 367.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1285, allocations: 123.9 kB / 367.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1285, allocations: 4.375 kB / 367.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1286, allocations: 67.91 kB / 367.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1289, allocations: 18.88 kB / 367.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.1321, allocations: 2.592 MB / 369.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1325, allocations: 0.7439 MB / 370.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.44e-05/0.1326, allocations: 25.52 kB / 370.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1327, allocations: 71.41 kB / 370.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1327, allocations: 0 / 370.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/0.3423, allocations: 3.313 MB / 374.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.3425, allocations: 168.6 kB / 374.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.127, allocations: 0 / 374.2 MB, free: 18.46 MB / 302.1 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