Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009745/0.0009744, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 227.2 MB / 245 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007897/0.0007897, allocations: 104.6 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002038/0.0002038, allocations: 11.98 kB / 357.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.18, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08846/0.2685, allocations: 81.55 MB / 491 MB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.2687, allocations: 83.95 kB / 491.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01594/0.2847, allocations: 5.875 MB / 496.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2847, allocations: 0 / 496.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.2847, allocations: 4 kB / 496.9 MB, free: 3.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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001059/0.2858, allocations: 0.6106 MB / 497.5 MB, free: 2.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2858, allocations: 8.031 kB / 497.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/0.2859, allocations: 35.62 kB / 497.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.2863, allocations: 287.2 kB / 497.9 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2864, allocations: 20.33 kB / 497.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.2864, allocations: 20 kB / 497.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.287, allocations: 285.8 kB / 498.2 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2871, allocations: 0 / 498.2 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2871, allocations: 8 kB / 498.2 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2871, allocations: 4 kB / 498.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.2879, allocations: 281.5 kB / 498.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2895, allocations: 1.021 MB / 499.5 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/0.2903, allocations: 266.6 kB / 499.8 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2904, allocations: 3.938 kB / 499.8 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.2908, allocations: 193.6 kB / 500 MB, free: 15.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2909, allocations: 0 / 500 MB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.00219/0.2931, allocations: 0.7254 MB / 0.4889 GB, free: 15.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2931, allocations: 106.8 kB / 0.489 GB, free: 14.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.2934, allocations: 241.7 kB / 0.4893 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2934, allocations: 29.7 kB / 0.4893 GB, free: 14.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2935, allocations: 183.7 kB / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.2936, allocations: 43.45 kB / 0.4895 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.2936, allocations: 4 kB / 0.4895 GB, free: 14.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2937, allocations: 334.8 kB / 0.4898 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.294, allocations: 115.9 kB / 0.49 GB, free: 13.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.2944, allocations: 198.3 kB / 0.4901 GB, free: 13.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.2948, allocations: 150.8 kB / 0.4903 GB, free: 13.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2948, allocations: 3.938 kB / 0.4903 GB, free: 13.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001167/0.296, allocations: 480.5 kB / 0.4907 GB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.296, allocations: 29.7 kB / 0.4908 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.296, allocations: 4 kB / 0.4908 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003377/0.2964, allocations: 88.78 kB / 0.4909 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2966, allocations: 47.91 kB / 0.4909 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.2991, allocations: 1.897 MB / 0.4928 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.2995, allocations: 59.86 kB / 0.4928 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2995, allocations: 15.94 kB / 0.4928 GB, free: 10.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001336/0.2996, allocations: 139.5 kB / 0.493 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.2997, allocations: 27.67 kB / 0.493 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.2997, allocations: 25.83 kB / 0.493 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.2998, allocations: 4 kB / 0.493 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.2998, allocations: 4 kB / 0.493 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2998, allocations: 0 / 0.493 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3, allocations: 285.4 kB / 0.4933 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3, allocations: 3.984 kB / 0.4933 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3002, allocations: 35.88 kB / 0.4933 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.3005, allocations: 80.8 kB / 0.4934 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3005, allocations: 4 kB / 0.4934 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.3026, allocations: 1.787 MB / 0.4952 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3026, allocations: 0 / 0.4952 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3036, allocations: 401.6 kB / 0.4955 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.3037, allocations: 96.81 kB / 0.4956 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3038, allocations: 8 kB / 0.4956 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.304, allocations: 47.91 kB / 0.4957 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.3041, allocations: 19.97 kB / 0.4957 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3041, allocations: 4 kB / 0.4957 GB, free: 7.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.3043, allocations: 194 kB / 0.4959 GB, free: 7.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3043, allocations: 0 / 0.4959 GB, free: 7.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.3047, allocations: 75.94 kB / 0.496 GB, free: 7.375 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.0001464/0.3048, allocations: 111.1 kB / 0.4961 GB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.3061, allocations: 0.5134 MB / 0.4966 GB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3061, allocations: 0 / 0.4966 GB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.3066, allocations: 250.4 kB / 0.4968 GB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.3068, allocations: 49.69 kB / 0.4969 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.3097, allocations: 1.041 MB / 0.4979 GB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.31, allocations: 0.756 MB / 0.4986 GB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.3101, allocations: 26.23 kB / 0.4986 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.3101, allocations: 19.42 kB / 0.4987 GB, free: 4.531 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3101, allocations: 4 kB / 0.4987 GB, free: 4.527 MB / 378.7 MB Notification: Performance of Templates: time 0.006243/0.3164, allocations: 3.311 MB / 0.5019 GB, free: 1.254 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches