Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001048/0.001048, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008581/0.0008582, allocations: 99.73 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.747e-05, allocations: 4 kB / 350.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.09902, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/0.4588, allocations: 81.42 MB / 483.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4591, allocations: 80.19 kB / 483.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02111/0.4803, allocations: 5.811 MB / 489.4 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4803, allocations: 3.938 kB / 489.4 MB, free: 3.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.4803, allocations: 8 kB / 489.5 MB, free: 3.008 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.001085/0.4814, allocations: 0.5642 MB / 490 MB, free: 2.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4815, allocations: 16.02 kB / 490 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.4816, allocations: 48.92 kB / 490.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.4817, allocations: 27.72 kB / 490.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.4821, allocations: 269.1 kB / 490.4 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.4821, allocations: 16.06 kB / 490.4 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.4822, allocations: 18.19 kB / 490.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.4827, allocations: 228.9 kB / 490.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4827, allocations: 4 kB / 490.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.4827, allocations: 7.359 kB / 490.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.4828, allocations: 4 kB / 490.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.4831, allocations: 152.3 kB / 490.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.4851, allocations: 0.9859 MB / 491.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.4864, allocations: 376.1 kB / 492.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4865, allocations: 40.11 kB / 492.2 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4865, allocations: 4 kB / 492.2 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.4869, allocations: 125.7 kB / 492.3 MB, free: 352 kB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.4869, allocations: 0 / 492.3 MB, free: 352 kB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007047/0.4876, allocations: 191.8 kB / 492.5 MB, free: 176 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4876, allocations: 110.4 kB / 492.6 MB, free: 44 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.488, allocations: 249.7 kB / 492.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4881, allocations: 29.7 kB / 492.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4883, allocations: 191.6 kB / 493.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.4883, allocations: 23.39 kB / 493.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.4883, allocations: 3.5 kB / 493.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4885, allocations: 333.7 kB / 493.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4887, allocations: 54.83 kB / 493.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.4889, allocations: 166.9 kB / 493.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.4891, allocations: 86.41 kB / 493.7 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4891, allocations: 4 kB / 493.7 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009559/0.4901, allocations: 339.6 kB / 494.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.4902, allocations: 33.7 kB / 494.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4902, allocations: 0 / 494.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.4904, allocations: 27.3 kB / 494.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.4907, allocations: 63.92 kB / 494.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.4926, allocations: 1.35 MB / 495.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.4931, allocations: 63.69 kB / 495.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.4931, allocations: 11.95 kB / 495.6 MB, free: 13.08 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 () * 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.0001394/0.4933, allocations: 133.5 kB / 495.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.4934, allocations: 19.81 kB / 495.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.4935, allocations: 27.89 kB / 495.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4935, allocations: 0 / 495.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4935, allocations: 0 / 495.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.4935, allocations: 1.594 kB / 495.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.4947, allocations: 0.5503 MB / 496.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4947, allocations: 0 / 496.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.495, allocations: 31.97 kB / 496.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.4951, allocations: 32.8 kB / 496.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.4951, allocations: 3.984 kB / 496.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.4968, allocations: 1.344 MB / 497.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4968, allocations: 0 / 497.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.4976, allocations: 292.9 kB / 498 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.4977, allocations: 104.8 kB / 498.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4978, allocations: 5.438 kB / 498.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.4982, allocations: 46.58 kB / 498.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.4983, allocations: 11.97 kB / 498.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4984, allocations: 12 kB / 498.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002929/0.4987, allocations: 187.1 kB / 498.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4987, allocations: 0 / 498.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006457/0.4993, allocations: 63.84 kB / 498.5 MB, free: 10.09 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.001209/0.5006, allocations: 0.8301 MB / 499.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006641/0.5012, allocations: 306 kB / 499.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5013, allocations: 4 kB / 499.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.5016, allocations: 154.6 kB / 499.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.5021, allocations: 45.67 kB / 499.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5033, allocations: 316.7 kB / 0.4884 GB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.5037, allocations: 0.7482 MB / 0.4891 GB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.5039, allocations: 26.06 kB / 0.4891 GB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.5041, allocations: 71.42 kB / 0.4892 GB, free: 7.48 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5041, allocations: 0 / 0.4892 GB, free: 7.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.5292, allocations: 5.253 MB / 0.4943 GB, free: 2.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.5295, allocations: 193.1 kB / 0.4945 GB, free: 2.293 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.315, allocations: 0 / 0.4945 GB, free: 2.293 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat