Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 199.4 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007297/0.0007299, allocations: 98.17 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001974/0.0001974, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1865, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08554/0.272, allocations: 81.47 MB / 490.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.2722, allocations: 79.95 kB / 490.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.2876, allocations: 5.837 MB / 496.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2876, allocations: 0 / 496.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.2877, allocations: 8 kB / 496.1 MB, free: 4.176 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.0009257/0.2886, allocations: 0.5876 MB / 496.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2886, allocations: 15.97 kB / 496.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.2887, allocations: 28.56 kB / 496.7 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.289, allocations: 287.9 kB / 497 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.289, allocations: 12.81 kB / 497 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.2891, allocations: 20.38 kB / 497 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.2897, allocations: 290.3 kB / 497.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2897, allocations: 192 / 497.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.2897, allocations: 7.938 kB / 497.3 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2898, allocations: 8 kB / 497.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.2905, allocations: 277.5 kB / 497.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.292, allocations: 0.9757 MB / 498.6 MB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2934, allocations: 499.4 kB / 499 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.2937, allocations: 100.8 kB / 499.1 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2938, allocations: 3.984 kB / 499.1 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.2942, allocations: 185.8 kB / 499.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2942, allocations: 0 / 499.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001913/0.2961, allocations: 0.6552 MB / 500 MB, free: 15.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.2962, allocations: 106.8 kB / 0.4884 GB, free: 15.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.2965, allocations: 270.6 kB / 0.4886 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2965, allocations: 30.08 kB / 0.4887 GB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2966, allocations: 183.7 kB / 0.4888 GB, free: 15.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.2966, allocations: 35.53 kB / 0.4889 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.2967, allocations: 4 kB / 0.4889 GB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2968, allocations: 338.8 kB / 0.4892 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.2971, allocations: 107.9 kB / 0.4893 GB, free: 14.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.2975, allocations: 222.7 kB / 0.4895 GB, free: 14.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.2981, allocations: 341.2 kB / 0.4898 GB, free: 14.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2982, allocations: 0 / 0.4898 GB, free: 14.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001111/0.2993, allocations: 471.3 kB / 0.4903 GB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.2993, allocations: 41.69 kB / 0.4903 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2993, allocations: 4 kB / 0.4903 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.2996, allocations: 60.86 kB / 0.4904 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.2998, allocations: 63.89 kB / 0.4904 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.3016, allocations: 1.526 MB / 0.4919 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.302, allocations: 67.73 kB / 0.492 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.302, allocations: 12 kB / 0.492 GB, free: 11.86 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.0001241/0.3021, allocations: 133.8 kB / 0.4921 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3022, allocations: 23.81 kB / 0.4922 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3022, allocations: 25.7 kB / 0.4922 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3022, allocations: 7.938 kB / 0.4922 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3022, allocations: 0 / 0.4922 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3022, allocations: 0 / 0.4922 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3034, allocations: 0.6747 MB / 0.4929 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3034, allocations: 4 kB / 0.4929 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.3036, allocations: 27.97 kB / 0.4929 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.3038, allocations: 64.81 kB / 0.4929 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3038, allocations: 4 kB / 0.4929 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.3054, allocations: 1.518 MB / 0.4944 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3055, allocations: 0 / 0.4944 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.3064, allocations: 431.9 kB / 0.4948 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3065, allocations: 100.8 kB / 0.4949 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3065, allocations: 8 kB / 0.4949 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3068, allocations: 47.83 kB / 0.495 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.3069, allocations: 23.89 kB / 0.495 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3069, allocations: 4 kB / 0.495 GB, free: 8.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.3071, allocations: 194 kB / 0.4952 GB, free: 8.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3071, allocations: 0 / 0.4952 GB, free: 8.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.3074, allocations: 63.84 kB / 0.4953 GB, free: 8.281 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.0001446/0.3076, allocations: 107 kB / 0.4954 GB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008765/0.3085, allocations: 421.8 kB / 0.4958 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3085, allocations: 0 / 0.4958 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.3089, allocations: 215.4 kB / 0.496 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3093, allocations: 50.86 kB / 0.496 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.3101, allocations: 0.5464 MB / 0.4966 GB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.3104, allocations: 0.7404 MB / 0.4973 GB, free: 6.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.3105, allocations: 23.38 kB / 0.4973 GB, free: 6.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3105, allocations: 0 / 0.4973 GB, free: 6.086 MB / 378.7 MB Notification: Performance of Templates: time 0.0053/0.3158, allocations: 4.089 MB / 0.5013 GB, free: 2.012 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches