Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 194.3 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.535/1.535, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 100.2 kB / 286.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.181e-05, allocations: 4 kB / 343.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 51.47 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4749, allocations: 81 MB / 476.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4753, allocations: 76.34 kB / 476.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.4885, allocations: 5.677 MB / 482 MB, free: 7.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4886, allocations: 4 kB / 482 MB, free: 7.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.4886, allocations: 8 kB / 482 MB, free: 7.168 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006705/0.4893, allocations: 0.5766 MB / 482.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4893, allocations: 8.031 kB / 482.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.4895, allocations: 51.52 kB / 482.7 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.4898, allocations: 295.5 kB / 483 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4898, allocations: 15.61 kB / 483 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.4898, allocations: 19.72 kB / 483 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003188/0.4902, allocations: 207.5 kB / 483.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.4906, allocations: 279.3 kB / 483.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4906, allocations: 0 / 483.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.4906, allocations: 0 / 483.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4906, allocations: 8 kB / 483.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.4922, allocations: 1.217 MB / 484.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.4925, allocations: 233.8 kB / 484.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.4926, allocations: 70.41 kB / 485 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.4926, allocations: 3.953 kB / 485 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.4926, allocations: 45.92 kB / 485 MB, free: 4.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.4926, allocations: 4 kB / 485 MB, free: 4.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005834/0.4932, allocations: 231.2 kB / 485.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.4933, allocations: 55.41 kB / 485.3 MB, free: 4.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4935, allocations: 231 kB / 485.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4935, allocations: 25.7 kB / 485.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.4935, allocations: 214.4 kB / 485.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.4936, allocations: 54.25 kB / 485.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4936, allocations: 0 / 485.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.4937, allocations: 334.3 kB / 486.2 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.4937, allocations: 52.23 kB / 486.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.4938, allocations: 131.1 kB / 486.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.464e-05/0.4939, allocations: 71.14 kB / 486.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.494, allocations: 0 / 486.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006025/0.4946, allocations: 324.3 kB / 486.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4946, allocations: 5.562 kB / 486.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4946, allocations: 4 kB / 486.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.4948, allocations: 68.06 kB / 486.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.495, allocations: 47.84 kB / 486.9 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4964, allocations: 1.748 MB / 488.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.4967, allocations: 35.8 kB / 488.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.4967, allocations: 11.38 kB / 488.6 MB, free: 1.188 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: add.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.4968, allocations: 112.9 kB / 488.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004723/0.4973, allocations: 245.4 kB / 489 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.4974, allocations: 23.72 kB / 489 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.4974, allocations: 19.78 kB / 489 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4974, allocations: 4 kB / 489 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.4974, allocations: 1.688 kB / 489 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4975, allocations: 7.938 kB / 489.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.4982, allocations: 0.6194 MB / 489.7 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4983, allocations: 0 / 489.7 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.4983, allocations: 16 kB / 489.7 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.4985, allocations: 62.73 kB / 489.7 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4985, allocations: 3.984 kB / 489.8 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.5002, allocations: 1.741 MB / 491.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5002, allocations: 0 / 491.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.5008, allocations: 344.8 kB / 491.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.5009, allocations: 103.4 kB / 491.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.5009, allocations: 0 / 491.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.5011, allocations: 27.97 kB / 492 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5012, allocations: 15.86 kB / 492 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.5012, allocations: 0 / 492 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.5014, allocations: 178.4 kB / 492.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5014, allocations: 0.9375 kB / 492.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.5019, allocations: 87.69 kB / 492.2 MB, free: 13.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008939/0.5028, allocations: 0.8784 MB / 493.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.5033, allocations: 267.2 kB / 493.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5033, allocations: 4.688 kB / 493.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.5035, allocations: 199.2 kB / 493.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.5038, allocations: 31.59 kB / 493.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.5048, allocations: 411.8 kB / 494 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.5051, allocations: 0.7757 MB / 494.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.5052, allocations: 22.06 kB / 494.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5053, allocations: 89.41 kB / 494.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5053, allocations: 0 / 494.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.53, allocations: 4.909 MB / 499.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.5303, allocations: 137.2 kB / 499.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.331, allocations: 2.375 kB / 499.9 MB, free: 6.316 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat