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.001617/0.001617, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008147, allocations: 84.53 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.561e-05, allocations: 4 kB / 337.2 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 50.42 MB / 387.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.4643, allocations: 79.96 MB / 467.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.4646, allocations: 79.95 kB / 467.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.4809, allocations: 5.731 MB / 473.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4809, allocations: 0 / 473.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4809, allocations: 8 kB / 473.4 MB, free: 8.957 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.0009556/0.4819, allocations: 0.5682 MB / 473.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4819, allocations: 12.03 kB / 473.9 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.482, allocations: 23.72 kB / 474 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.4824, allocations: 267 kB / 474.2 MB, free: 8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4824, allocations: 8 kB / 474.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.4825, allocations: 15.98 kB / 474.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003042/0.4828, allocations: 136.9 kB / 474.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.4831, allocations: 201.2 kB / 474.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4831, allocations: 4 kB / 474.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4832, allocations: 3.984 kB / 474.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4832, allocations: 4 kB / 474.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4848, allocations: 0.9376 MB / 475.5 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.4858, allocations: 355.8 kB / 475.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.4859, allocations: 48.8 kB / 475.9 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.486, allocations: 3.984 kB / 475.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.4862, allocations: 113.9 kB / 476 MB, free: 6.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.4862, allocations: 0 / 476 MB, free: 6.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005551/0.4868, allocations: 202 kB / 476.2 MB, free: 5.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.4868, allocations: 106.8 kB / 476.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.487, allocations: 214.1 kB / 476.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4871, allocations: 25.7 kB / 476.6 MB, free: 5.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4872, allocations: 195.5 kB / 476.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.4872, allocations: 27.72 kB / 476.8 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.4873, allocations: 3.938 kB / 476.8 MB, free: 5.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4874, allocations: 330.8 kB / 477.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.4875, allocations: 48 kB / 477.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.4877, allocations: 153.5 kB / 477.3 MB, free: 4.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.4878, allocations: 59.94 kB / 477.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4878, allocations: 4 kB / 477.4 MB, free: 4.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005901/0.4884, allocations: 280 kB / 477.6 MB, free: 4.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.4884, allocations: 35.22 kB / 477.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4884, allocations: 4 kB / 477.7 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.4886, allocations: 32.84 kB / 477.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.4888, allocations: 63.94 kB / 477.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.4899, allocations: 1.304 MB / 479.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.4903, allocations: 55.81 kB / 479.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4903, allocations: 8 kB / 479.1 MB, free: 2.707 MB / 346.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 () * 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.0001145/0.4904, allocations: 126.5 kB / 479.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004845/0.4909, allocations: 190.2 kB / 479.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.491, allocations: 23.72 kB / 479.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.491, allocations: 17.84 kB / 479.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.491, allocations: 11.98 kB / 479.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.491, allocations: 0 / 479.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.491, allocations: 0 / 479.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.4917, allocations: 0.5037 MB / 480 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4918, allocations: 0 / 480 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4919, allocations: 23.98 kB / 480 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.519e-05/0.492, allocations: 28.84 kB / 480.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.492, allocations: 8 kB / 480.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.493, allocations: 1.303 MB / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4931, allocations: 0 / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.4935, allocations: 284.2 kB / 481.6 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.4936, allocations: 96.81 kB / 481.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.4937, allocations: 4 kB / 481.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4939, allocations: 35.97 kB / 481.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.494, allocations: 19.97 kB / 481.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.494, allocations: 7.953 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4942, allocations: 170 kB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4942, allocations: 0 / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000383/0.4946, allocations: 67.83 kB / 482 MB, free: 15.6 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007711/0.4953, allocations: 0.8229 MB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.4958, allocations: 281 kB / 483.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4958, allocations: 4.812 kB / 483.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.496, allocations: 158 kB / 483.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4963, allocations: 36.62 kB / 483.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.497, allocations: 298.9 kB / 483.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.4973, allocations: 0.7522 MB / 484.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.4974, allocations: 22.06 kB / 484.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4975, allocations: 71.42 kB / 484.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4975, allocations: 0 / 484.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.5214, allocations: 4.485 MB / 489 MB, free: 8.605 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/0.5217, allocations: 148.1 kB / 489.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.183, allocations: 0 / 489.1 MB, free: 8.414 MB / 362.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