Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 203.2 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008779/0.0008778, allocations: 95.72 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002323/0.0002323, allocations: 15.98 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1832, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09166/0.2749, allocations: 81.96 MB / 491.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.2751, allocations: 85.55 kB / 491.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.2919, allocations: 6.482 MB / 498 MB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.292, allocations: 0 / 498 MB, free: 2.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.292, allocations: 4 kB / 498 MB, free: 2.051 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001096/0.2931, allocations: 0.6431 MB / 498.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2931, allocations: 12.03 kB / 498.6 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.2932, allocations: 35.61 kB / 498.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.2936, allocations: 303.2 kB / 498.9 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2936, allocations: 20.56 kB / 499 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2937, allocations: 20 kB / 499 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.2944, allocations: 343.6 kB / 499.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2944, allocations: 0 / 499.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2944, allocations: 8 kB / 499.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2945, allocations: 12 kB / 499.3 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.2953, allocations: 306.1 kB / 499.6 MB, free: 268 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.2972, allocations: 1.186 MB / 0.4891 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/0.2981, allocations: 289 kB / 0.4894 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2981, allocations: 4 kB / 0.4894 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.2986, allocations: 201.4 kB / 0.4896 GB, free: 14.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2986, allocations: 3.938 kB / 0.4896 GB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002278/0.3009, allocations: 0.741 MB / 0.4903 GB, free: 13.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.3009, allocations: 106.8 kB / 0.4904 GB, free: 13.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3012, allocations: 249.9 kB / 0.4906 GB, free: 13.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3012, allocations: 29.7 kB / 0.4906 GB, free: 13.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3014, allocations: 203.5 kB / 0.4908 GB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.3014, allocations: 43.44 kB / 0.4909 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.3014, allocations: 4 kB / 0.4909 GB, free: 13.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3016, allocations: 340 kB / 0.4912 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.3019, allocations: 116.2 kB / 0.4913 GB, free: 12.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.3023, allocations: 229.3 kB / 0.4915 GB, free: 12.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.3027, allocations: 165.8 kB / 0.4917 GB, free: 12.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3027, allocations: 4 kB / 0.4917 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001261/0.304, allocations: 0.5112 MB / 0.4922 GB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.304, allocations: 37.7 kB / 0.4922 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3041, allocations: 0 / 0.4922 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.3044, allocations: 92.83 kB / 0.4923 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3046, allocations: 55.89 kB / 0.4924 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.3074, allocations: 1.932 MB / 0.4943 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.3077, allocations: 71.7 kB / 0.4943 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3077, allocations: 12 kB / 0.4943 GB, free: 9.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.3079, allocations: 148.7 kB / 0.4945 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.3079, allocations: 27.72 kB / 0.4945 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.308, allocations: 25.83 kB / 0.4945 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.308, allocations: 128 / 0.4945 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.308, allocations: 7.953 kB / 0.4945 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.308, allocations: 192 / 0.4945 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3083, allocations: 329.3 kB / 0.4949 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3083, allocations: 7.922 kB / 0.4949 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3085, allocations: 31.97 kB / 0.4949 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.3088, allocations: 84.81 kB / 0.495 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3088, allocations: 3.984 kB / 0.495 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.3111, allocations: 1.842 MB / 0.4968 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3111, allocations: 8.094 kB / 0.4968 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3121, allocations: 409.4 kB / 0.4972 GB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.3122, allocations: 104.8 kB / 0.4973 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3122, allocations: 7.984 kB / 0.4973 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3125, allocations: 40.09 kB / 0.4973 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.3126, allocations: 23.97 kB / 0.4974 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3126, allocations: 4 kB / 0.4974 GB, free: 5.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.3128, allocations: 206 kB / 0.4976 GB, free: 5.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 3.938 kB / 0.4976 GB, free: 5.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.3132, allocations: 75.84 kB / 0.4976 GB, free: 5.695 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.3133, allocations: 115.1 kB / 0.4977 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3146, allocations: 0.5247 MB / 0.4982 GB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3146, allocations: 0 / 0.4982 GB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.3151, allocations: 247.2 kB / 0.4985 GB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3154, allocations: 55.33 kB / 0.4985 GB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.3183, allocations: 1.09 MB / 0.4996 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3186, allocations: 0.7677 MB / 0.5004 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3188, allocations: 22.3 kB / 0.5004 GB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.3188, allocations: 23.42 kB / 0.5004 GB, free: 2.758 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3188, allocations: 4 kB / 0.5004 GB, free: 2.754 MB / 378.7 MB Notification: Performance of Templates: time 0.1493/0.4682, allocations: 3.584 MB / 0.5039 GB, free: 95.71 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches