Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 198.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.652/1.652, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 96.19 kB / 286.7 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.207e-05, allocations: 8 kB / 343.8 MB, free: 8.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 51.47 MB / 395.3 MB, free: 4.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4521, allocations: 81.24 MB / 476.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4524, allocations: 86.78 kB / 476.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4689, allocations: 6.413 MB / 483 MB, free: 6.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.469, allocations: 0 / 483 MB, free: 6.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.469, allocations: 7.062 kB / 483 MB, free: 6.234 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009478/0.4699, allocations: 0.5921 MB / 483.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.47, allocations: 8.031 kB / 483.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.4701, allocations: 43.53 kB / 483.7 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.4705, allocations: 287 kB / 483.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4705, allocations: 8 kB / 483.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4706, allocations: 16 kB / 484 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003158/0.4709, allocations: 175.5 kB / 484.1 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.4713, allocations: 237.1 kB / 484.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4713, allocations: 3.984 kB / 484.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.4713, allocations: 0 / 484.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4713, allocations: 8 kB / 484.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.473, allocations: 1.127 MB / 485.5 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.4733, allocations: 139.6 kB / 485.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.4734, allocations: 63.09 kB / 485.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4734, allocations: 4 kB / 485.7 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.4736, allocations: 135.4 kB / 485.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.4736, allocations: 0 / 485.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000594/0.4742, allocations: 236.8 kB / 486.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4743, allocations: 107.4 kB / 486.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4745, allocations: 230.8 kB / 486.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4745, allocations: 29.69 kB / 486.4 MB, free: 3.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.4746, allocations: 199.7 kB / 486.6 MB, free: 3.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.4746, allocations: 43.27 kB / 486.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.4747, allocations: 4 kB / 486.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.4747, allocations: 334.5 kB / 487 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4749, allocations: 61.3 kB / 487.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4751, allocations: 153.5 kB / 487.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4752, allocations: 76.28 kB / 487.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4752, allocations: 0 / 487.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006681/0.4759, allocations: 324.1 kB / 487.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.4759, allocations: 38.7 kB / 487.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.476, allocations: 4 kB / 487.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.4763, allocations: 55.23 kB / 487.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.4765, allocations: 55.34 kB / 487.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.4781, allocations: 1.584 MB / 489.3 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.4784, allocations: 71.28 kB / 489.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.4785, allocations: 15.47 kB / 489.4 MB, free: 356 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: buffer.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: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.4787, allocations: 114.8 kB / 489.5 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004954/0.4792, allocations: 244.1 kB / 489.8 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.4792, allocations: 23.72 kB / 489.8 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.4793, allocations: 28.77 kB / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4793, allocations: 0 / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4793, allocations: 0 / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4794, allocations: 0 / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.4797, allocations: 278.1 kB / 490.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4797, allocations: 0 / 490.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4799, allocations: 35.19 kB / 490.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.48, allocations: 53.61 kB / 490.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.48, allocations: 4 kB / 490.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.4816, allocations: 1.583 MB / 491.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4816, allocations: 0 / 491.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.4822, allocations: 264.7 kB / 492 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.4823, allocations: 103.8 kB / 492.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.4823, allocations: 0 / 492.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.4826, allocations: 47.83 kB / 492.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.4827, allocations: 22.73 kB / 492.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4827, allocations: 4 kB / 492.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4829, allocations: 177.6 kB / 492.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4829, allocations: 0 / 492.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004747/0.4834, allocations: 73.81 kB / 492.4 MB, free: 13.46 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000947/0.4843, allocations: 0.7918 MB / 493.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005156/0.4849, allocations: 334 kB / 493.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4849, allocations: 0.75 kB / 493.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.4851, allocations: 197 kB / 493.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.4854, allocations: 37.22 kB / 493.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.4884, allocations: 0.8529 MB / 494.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4888, allocations: 0.7638 MB / 495.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.4889, allocations: 28.61 kB / 495.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.489, allocations: 84.03 kB / 495.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4891, allocations: 0 / 495.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.5133, allocations: 5.219 MB / 0.489 GB, free: 5.375 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.5136, allocations: 160.3 kB / 0.4892 GB, free: 5.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.215, allocations: 1.875 kB / 0.4892 GB, free: 5.18 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat