Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 182.1 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 89.61 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002611, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2758, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09769/0.3735, allocations: 79.12 MB / 455 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3738, allocations: 75.95 kB / 455.1 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.3898, allocations: 5.684 MB / 460.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3899, allocations: 0 / 460.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.3899, allocations: 8 kB / 460.8 MB, free: 11.74 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001117/0.391, allocations: 0.6067 MB / 461.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3911, allocations: 15.97 kB / 461.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/0.3912, allocations: 58.53 kB / 461.5 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.3913, allocations: 31.62 kB / 461.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3916, allocations: 263.3 kB / 461.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3917, allocations: 20.38 kB / 461.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.3917, allocations: 24 kB / 461.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.3923, allocations: 251.2 kB / 462.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3924, allocations: 0 / 462.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.3924, allocations: 15.98 kB / 462.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3924, allocations: 4 kB / 462.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.3932, allocations: 281.6 kB / 462.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.3948, allocations: 0.9363 MB / 463.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.3956, allocations: 274.5 kB / 463.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3956, allocations: 0 / 463.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004685/0.3961, allocations: 196.7 kB / 463.8 MB, free: 8.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 4.528e-06/0.3961, allocations: 3.984 kB / 463.8 MB, free: 8.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001751/0.3978, allocations: 0.6593 MB / 464.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.3979, allocations: 110.8 kB / 464.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.3982, allocations: 237.7 kB / 464.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3982, allocations: 29.7 kB / 464.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3983, allocations: 175.8 kB / 465 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3984, allocations: 39.44 kB / 465 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.3984, allocations: 8 kB / 465 MB, free: 7.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3985, allocations: 334.8 kB / 465.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.3988, allocations: 107.9 kB / 465.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.3992, allocations: 187.1 kB / 465.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.3995, allocations: 149.5 kB / 465.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3996, allocations: 0 / 465.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00102/0.4006, allocations: 447.8 kB / 466.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.401, allocations: 0.8206 MB / 467 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.401, allocations: 0 / 467 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.4013, allocations: 76.8 kB / 467.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.4015, allocations: 51.91 kB / 467.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007035/0.4023, allocations: 0.6811 MB / 467.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.4026, allocations: 55.75 kB / 467.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.4026, allocations: 11.94 kB / 467.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.4026, allocations: 8.062 kB / 467.9 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007219/0.4034, allocations: 334.3 kB / 468.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.4034, allocations: 0 / 468.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-05/0.4035, allocations: 36.84 kB / 468.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.4037, allocations: 55.89 kB / 468.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.405, allocations: 1.539 MB / 469.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.4053, allocations: 51.75 kB / 469.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4053, allocations: 12.48 kB / 469.9 MB, free: 2.047 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.4055, allocations: 232.6 kB / 470.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.4055, allocations: 23.72 kB / 470.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.4056, allocations: 25.83 kB / 470.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4056, allocations: 4 kB / 470.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4056, allocations: 4 kB / 470.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4056, allocations: 0 / 470.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.4059, allocations: 297.3 kB / 470.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4059, allocations: 4 kB / 470.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4061, allocations: 31.97 kB / 470.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.4063, allocations: 72.75 kB / 470.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4063, allocations: 11.98 kB / 470.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.4081, allocations: 1.745 MB / 472.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4082, allocations: 0 / 472.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.409, allocations: 379.6 kB / 472.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.4091, allocations: 100.7 kB / 472.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.4091, allocations: 15.98 kB / 472.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.4094, allocations: 39.97 kB / 472.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.4095, allocations: 19.97 kB / 472.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4095, allocations: 4 kB / 472.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4097, allocations: 190 kB / 473.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4097, allocations: 0 / 473.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.4102, allocations: 123.7 kB / 473.2 MB, free: 14.52 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) * Number of clocked states: 0 () * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.4114, allocations: 0.9019 MB / 474.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.4128, allocations: 0.6884 MB / 474.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4129, allocations: 4.062 kB / 474.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.4133, allocations: 257 kB / 475.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4136, allocations: 40.48 kB / 475.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.418, allocations: 3.219 MB / 478.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4184, allocations: 0.756 MB / 479.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.4185, allocations: 26.28 kB / 479.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4186, allocations: 83.41 kB / 479.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4186, allocations: 0 / 479.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.4386, allocations: 5.787 MB / 485 MB, free: 2.594 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.4389, allocations: 218.2 kB / 485.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.274, allocations: 0 / 485.2 MB, free: 2.352 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat