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.0009565/0.0009565, allocations: 202.3 kB / 17.08 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.641 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008026, allocations: 93.59 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002389/0.0002387, allocations: 11.98 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1813, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08572/0.267, allocations: 81.49 MB / 491 MB, free: 9.105 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.2673, allocations: 83.95 kB / 491.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01548/0.2828, allocations: 5.807 MB / 496.9 MB, free: 3.195 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2828, allocations: 0 / 496.9 MB, free: 3.195 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.2828, allocations: 12 kB / 496.9 MB, free: 3.184 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.00093/0.2838, allocations: 0.6069 MB / 497.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2838, allocations: 8.031 kB / 497.5 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.2839, allocations: 58.53 kB / 497.6 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.2839, allocations: 31.62 kB / 497.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.2842, allocations: 267.1 kB / 497.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.2843, allocations: 24.36 kB / 497.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.2843, allocations: 16 kB / 497.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.2849, allocations: 289.8 kB / 498.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2849, allocations: 7.984 kB / 498.2 MB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2849, allocations: 8 kB / 498.2 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.285, allocations: 4 kB / 498.2 MB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.2857, allocations: 273.5 kB / 498.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2873, allocations: 0.9795 MB / 499.5 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2887, allocations: 499.4 kB / 499.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2887, allocations: 4.172 kB / 499.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/0.2892, allocations: 185.7 kB / 0.4884 GB, free: 15.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.2892, allocations: 0 / 0.4884 GB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.00195/0.2912, allocations: 0.6434 MB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2912, allocations: 110.8 kB / 0.4891 GB, free: 14.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.2915, allocations: 245.8 kB / 0.4894 GB, free: 14.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.2915, allocations: 29.7 kB / 0.4894 GB, free: 14.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.2916, allocations: 187.6 kB / 0.4896 GB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.2917, allocations: 31.55 kB / 0.4896 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.2917, allocations: 4 kB / 0.4896 GB, free: 14.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.2918, allocations: 330.8 kB / 0.4899 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.2921, allocations: 111.9 kB / 0.49 GB, free: 13.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.2925, allocations: 222.6 kB / 0.4903 GB, free: 13.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.2929, allocations: 149.6 kB / 0.4904 GB, free: 13.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2929, allocations: 0 / 0.4904 GB, free: 13.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001145/0.294, allocations: 471.8 kB / 0.4908 GB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.2941, allocations: 37.69 kB / 0.4909 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2941, allocations: 4 kB / 0.4909 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.2944, allocations: 64.81 kB / 0.4909 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2946, allocations: 59.94 kB / 0.491 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.2966, allocations: 1.54 MB / 0.4925 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.297, allocations: 63.77 kB / 0.4926 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.297, allocations: 12 kB / 0.4926 GB, free: 11.16 MB / 378.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.0001645/0.2972, allocations: 145.7 kB / 0.4927 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2973, allocations: 31.64 kB / 0.4927 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.2973, allocations: 21.7 kB / 0.4928 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2973, allocations: 4 kB / 0.4928 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2973, allocations: 4 kB / 0.4928 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2973, allocations: 3.984 kB / 0.4928 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2987, allocations: 0.6825 MB / 0.4934 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2987, allocations: 0 / 0.4934 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2988, allocations: 27.98 kB / 0.4935 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.2991, allocations: 60.81 kB / 0.4935 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2991, allocations: 4 kB / 0.4935 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.301, allocations: 1.542 MB / 0.495 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.301, allocations: 8.203 kB / 0.4951 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.302, allocations: 423.9 kB / 0.4955 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.3021, allocations: 100.8 kB / 0.4956 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.3021, allocations: 11.89 kB / 0.4956 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3024, allocations: 47.95 kB / 0.4956 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.3024, allocations: 11.98 kB / 0.4956 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3025, allocations: 4 kB / 0.4956 GB, free: 7.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.3026, allocations: 190 kB / 0.4958 GB, free: 7.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3026, allocations: 4 kB / 0.4958 GB, free: 7.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.303, allocations: 67.91 kB / 0.4959 GB, free: 7.535 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.001236/0.3043, allocations: 0.9745 MB / 0.4968 GB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008497/0.3051, allocations: 418.1 kB / 0.4972 GB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3051, allocations: 0 / 0.4972 GB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.3055, allocations: 223.1 kB / 0.4974 GB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3058, allocations: 48.39 kB / 0.4975 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.3094, allocations: 3.621 MB / 0.501 GB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3097, allocations: 0.7518 MB / 0.5018 GB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.3098, allocations: 26.28 kB / 0.5018 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3099, allocations: 71.41 kB / 0.5018 GB, free: 1.215 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3099, allocations: 0 / 0.5018 GB, free: 1.215 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/0.4783, allocations: 5.305 MB / 0.507 GB, free: 96.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.4785, allocations: 228.2 kB / 0.5072 GB, free: 95.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.104, allocations: 0 / 0.5072 GB, free: 95.8 MB / 378.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