Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001454/0.001453, allocations: 178 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 94.2 kB / 262.5 MB, free: 1.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.323e-05, allocations: 7.984 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08527, allocations: 47.58 MB / 363.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.4648, allocations: 77.33 MB / 440.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4651, allocations: 76.58 kB / 440.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01426/0.4794, allocations: 5.139 MB / 445.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4794, allocations: 0.7656 kB / 445.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.4794, allocations: 8 kB / 445.7 MB, free: 13.93 MB / 330.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.0009102/0.4804, allocations: 0.5584 MB / 446.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4804, allocations: 8.031 kB / 446.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.4805, allocations: 35.53 kB / 446.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.4809, allocations: 283.1 kB / 446.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4809, allocations: 23.16 kB / 446.6 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.481, allocations: 16 kB / 446.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003923/0.4814, allocations: 215.2 kB / 446.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.4818, allocations: 218.5 kB / 447.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4818, allocations: 0 / 447.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.4818, allocations: 0 / 447.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4819, allocations: 8 kB / 447.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.4838, allocations: 1.143 MB / 448.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.4843, allocations: 222 kB / 448.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.4846, allocations: 133.4 kB / 448.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.4847, allocations: 7.938 kB / 448.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.4847, allocations: 42.11 kB / 448.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.4847, allocations: 0 / 448.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008293/0.4856, allocations: 304.8 kB / 448.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4856, allocations: 59.41 kB / 449 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4858, allocations: 205.9 kB / 449.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.4859, allocations: 25.7 kB / 449.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.486, allocations: 206.8 kB / 449.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.4861, allocations: 67.44 kB / 449.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.4861, allocations: 0 / 449.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4862, allocations: 336 kB / 449.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.4864, allocations: 64.86 kB / 449.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.4865, allocations: 148.6 kB / 450 MB, free: 10.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.4867, allocations: 82.69 kB / 450.1 MB, free: 9.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4867, allocations: 4 kB / 450.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008782/0.4876, allocations: 388.4 kB / 450.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.4881, allocations: 1.129 MB / 451.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4881, allocations: 0 / 451.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.4884, allocations: 88.3 kB / 451.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.4886, allocations: 55.05 kB / 451.7 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.4898, allocations: 1.212 MB / 453 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.4901, allocations: 43.73 kB / 453 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4901, allocations: 14.81 kB / 453 MB, free: 7.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4901, allocations: 4 kB / 453 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003742/0.4905, allocations: 219.7 kB / 453.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4905, allocations: 8.031 kB / 453.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.4906, allocations: 40.95 kB / 453.3 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.4908, allocations: 59.91 kB / 453.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.4928, allocations: 2.6 MB / 455.9 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.493, allocations: 19.8 kB / 456 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.493, allocations: 11.94 kB / 456 MB, free: 4.012 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp2.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.4932, allocations: 112.8 kB / 456.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006988/0.4939, allocations: 309 kB / 456.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4939, allocations: 23.72 kB / 456.4 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.494, allocations: 24.83 kB / 456.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.494, allocations: 4 kB / 456.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.494, allocations: 0 / 456.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.494, allocations: 0 / 456.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4951, allocations: 0.6726 MB / 457.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4951, allocations: 0 / 457.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.4953, allocations: 23.98 kB / 457.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.4955, allocations: 81.12 kB / 457.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4955, allocations: 3.938 kB / 457.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/0.4987, allocations: 3.003 MB / 460.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.4987, allocations: 3.938 kB / 460.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.4996, allocations: 484.9 kB / 460.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.4996, allocations: 96.8 kB / 460.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.4997, allocations: 3.984 kB / 460.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.4999, allocations: 28.23 kB / 460.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.5, allocations: 19.84 kB / 460.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.5, allocations: 8 kB / 460.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.5002, allocations: 164.4 kB / 461 MB, free: 15.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5002, allocations: 0 / 461 MB, free: 15.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006786/0.5009, allocations: 139.5 kB / 461.1 MB, free: 14.97 MB / 346.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.5021, allocations: 1.019 MB / 462.2 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.5033, allocations: 0.578 MB / 462.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5033, allocations: 0 / 462.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.504, allocations: 382.3 kB / 463.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.5044, allocations: 42.73 kB / 463.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.5054, allocations: 427.4 kB / 463.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5058, allocations: 0.7844 MB / 464.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.5059, allocations: 30.06 kB / 464.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.506, allocations: 84.53 kB / 464.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5061, allocations: 0 / 464.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.5337, allocations: 5.553 MB / 470 MB, free: 6.254 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.5339, allocations: 156.6 kB / 470.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.366, allocations: 0 / 470.2 MB, free: 6.055 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat