Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002185, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008449/0.0008449, allocations: 95.8 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.142e-05, allocations: 8 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 51.49 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4821, allocations: 79.17 MB / 474.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4823, allocations: 77.67 kB / 474.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.4951, allocations: 5.34 MB / 479.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4951, allocations: 0 / 479.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.4951, allocations: 11.98 kB / 479.9 MB, free: 9.215 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006602/0.4958, allocations: 0.5496 MB / 480.4 MB, free: 8.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4959, allocations: 12.02 kB / 480.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.4959, allocations: 39.53 kB / 480.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.4962, allocations: 288.1 kB / 480.8 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4963, allocations: 12 kB / 480.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.4963, allocations: 16 kB / 480.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003102/0.4966, allocations: 200.1 kB / 481 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.497, allocations: 256 kB / 481.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.497, allocations: 0 / 481.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.4971, allocations: 4 kB / 481.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4971, allocations: 4 kB / 481.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.4988, allocations: 1.239 MB / 482.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.4992, allocations: 198 kB / 482.7 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.4995, allocations: 137.2 kB / 482.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4995, allocations: 4.344 kB / 482.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.4995, allocations: 38.33 kB / 482.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.4995, allocations: 0 / 482.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008176/0.5003, allocations: 316.8 kB / 483.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.5004, allocations: 51.41 kB / 483.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.5006, allocations: 207.7 kB / 483.4 MB, free: 6.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5006, allocations: 25.7 kB / 483.4 MB, free: 6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.5007, allocations: 214.2 kB / 483.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.5007, allocations: 58.36 kB / 483.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.5007, allocations: 4 kB / 483.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.5008, allocations: 338.1 kB / 484 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.5009, allocations: 56.69 kB / 484.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.501, allocations: 155.4 kB / 484.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.5011, allocations: 78.36 kB / 484.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5012, allocations: 0 / 484.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008344/0.502, allocations: 405.8 kB / 484.7 MB, free: 4.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.5023, allocations: 1.229 MB / 485.9 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5023, allocations: 9.719 kB / 486 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.5025, allocations: 79.31 kB / 486 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.5027, allocations: 55.91 kB / 486.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.5042, allocations: 1.957 MB / 488 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.5045, allocations: 43.73 kB / 488.1 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.5045, allocations: 12 kB / 488.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.5045, allocations: 5.875 kB / 488.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006033/0.5051, allocations: 275.5 kB / 488.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5051, allocations: 7.938 kB / 488.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.974e-05/0.5053, allocations: 52.27 kB / 488.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.5054, allocations: 59.91 kB / 488.5 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.5072, allocations: 2.558 MB / 491 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.5074, allocations: 19.84 kB / 491.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.5074, allocations: 12.12 kB / 491.1 MB, free: 14.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.5075, allocations: 116 kB / 491.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007986/0.5083, allocations: 312.9 kB / 491.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.5084, allocations: 31.7 kB / 491.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.5085, allocations: 31.22 kB / 491.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5085, allocations: 0 / 491.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5085, allocations: 6.766 kB / 491.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5085, allocations: 3.984 kB / 491.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5098, allocations: 0.6769 MB / 492.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5098, allocations: 0 / 492.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.5099, allocations: 23.98 kB / 492.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.5101, allocations: 77.81 kB / 492.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5101, allocations: 0 / 492.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.5132, allocations: 2.986 MB / 495.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.5132, allocations: 7.703 kB / 495.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009239/0.5141, allocations: 489.1 kB / 495.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.5142, allocations: 104.3 kB / 495.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.5143, allocations: 8.047 kB / 495.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.5145, allocations: 23.98 kB / 495.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.5146, allocations: 19.53 kB / 496 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5146, allocations: 4 kB / 496 MB, free: 9.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.5148, allocations: 167.7 kB / 496.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5148, allocations: 7.938 kB / 496.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006652/0.5155, allocations: 147.5 kB / 496.3 MB, free: 9.211 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001254/0.5167, allocations: 1.017 MB / 497.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.5179, allocations: 0.6752 MB / 498 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5179, allocations: 0 / 498 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.5185, allocations: 376.9 kB / 498.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.5188, allocations: 33.84 kB / 498.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5199, allocations: 441.3 kB / 498.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.5202, allocations: 0.7726 MB / 499.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.5204, allocations: 32.48 kB / 499.6 MB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.5205, allocations: 85.72 kB / 499.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5205, allocations: 4 kB / 499.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.5489, allocations: 5.788 MB / 0.4936 GB, free: 260 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.5491, allocations: 149.1 kB / 0.4938 GB, free: 64 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.405, allocations: 4 kB / 0.4938 GB, free: 60 kB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat