Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 94.48 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003507, allocations: 8 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4658, allocations: 80.7 MB / 482.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/0.4662, allocations: 83.94 kB / 482.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.4876, allocations: 5.793 MB / 488.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4877, allocations: 0 / 488.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.4877, allocations: 8 kB / 488.2 MB, free: 9.824 MB / 362.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.001167/0.4889, allocations: 0.6028 MB / 488.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4889, allocations: 8.031 kB / 488.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.489, allocations: 54.77 kB / 488.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.4891, allocations: 27.62 kB / 488.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.4895, allocations: 267 kB / 489.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4895, allocations: 16.44 kB / 489.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.4896, allocations: 20 kB / 489.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.4902, allocations: 290.1 kB / 489.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4903, allocations: 3.953 kB / 489.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.4903, allocations: 12 kB / 489.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4903, allocations: 4 kB / 489.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.4911, allocations: 265.6 kB / 489.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.4929, allocations: 1.003 MB / 490.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.4943, allocations: 487.5 kB / 491.2 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4944, allocations: 7.984 kB / 491.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.4949, allocations: 178 kB / 491.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.985e-06/0.4949, allocations: 0 / 491.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001974/0.4969, allocations: 0.6474 MB / 492 MB, free: 5.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.497, allocations: 106.8 kB / 492.1 MB, free: 5.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.4973, allocations: 249.7 kB / 492.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.4973, allocations: 29.7 kB / 492.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.4975, allocations: 191.6 kB / 492.6 MB, free: 5.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.4975, allocations: 31.59 kB / 492.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.4975, allocations: 4 kB / 492.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4977, allocations: 330.8 kB / 493 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.498, allocations: 111.9 kB / 493.1 MB, free: 4.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.4984, allocations: 222.1 kB / 493.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.4988, allocations: 145.6 kB / 493.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4988, allocations: 4 kB / 493.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001244/0.5001, allocations: 478.1 kB / 493.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.5001, allocations: 33.7 kB / 493.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5001, allocations: 7.984 kB / 493.9 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.5005, allocations: 56.83 kB / 494 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.5007, allocations: 63.92 kB / 494.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.503, allocations: 1.546 MB / 495.6 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.5034, allocations: 63.8 kB / 495.7 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5034, allocations: 12 kB / 495.7 MB, free: 1.805 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: 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 (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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.5037, allocations: 141.7 kB / 495.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.5037, allocations: 27.67 kB / 495.8 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.5038, allocations: 25.7 kB / 495.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.5038, allocations: 0 / 495.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5038, allocations: 8 kB / 495.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5038, allocations: 0 / 495.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.5052, allocations: 0.6709 MB / 496.5 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5052, allocations: 3.938 kB / 496.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.5053, allocations: 35.97 kB / 496.6 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.5056, allocations: 60.81 kB / 496.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.5056, allocations: 0 / 496.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.5077, allocations: 1.538 MB / 498.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5077, allocations: 192 / 498.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5088, allocations: 435.8 kB / 498.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.5089, allocations: 92.92 kB / 498.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.509, allocations: 0 / 498.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.5092, allocations: 47.95 kB / 498.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.5093, allocations: 19.97 kB / 498.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.5094, allocations: 7.953 kB / 498.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.5096, allocations: 190 kB / 499 MB, free: 14.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5096, allocations: 7.938 kB / 499 MB, free: 14.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.51, allocations: 63.84 kB / 499 MB, free: 14.2 MB / 378.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.5116, allocations: 0.9746 MB / 0.4883 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.5127, allocations: 414.3 kB / 0.4887 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5127, allocations: 0 / 0.4887 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.5132, allocations: 226.9 kB / 0.4889 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.5135, allocations: 48.48 kB / 0.4889 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.5183, allocations: 3.631 MB / 0.4925 GB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.519, allocations: 0.744 MB / 0.4932 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.5192, allocations: 26.28 kB / 0.4932 GB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.5193, allocations: 79.41 kB / 0.4933 GB, free: 7.875 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/0.5193, allocations: 0 / 0.4933 GB, free: 7.875 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.5402, allocations: 5.321 MB / 0.4985 GB, free: 2.777 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.5406, allocations: 217.8 kB / 0.4987 GB, free: 2.535 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.479, allocations: 0 / 0.4987 GB, free: 2.535 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat