Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001474, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 95.97 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.635e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3365, allocations: 47.56 MB / 362.3 MB, free: 45.88 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4623, allocations: 78.47 MB / 440.8 MB, free: 7.867 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4626, allocations: 75.95 kB / 440.9 MB, free: 7.793 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.4894, allocations: 5.674 MB / 446.6 MB, free: 2.137 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4894, allocations: 0 / 446.6 MB, free: 2.137 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.4895, allocations: 4 kB / 446.6 MB, free: 2.133 MB / 331.1 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.001391/0.4909, allocations: 0.5692 MB / 447.1 MB, free: 1.516 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4909, allocations: 8.031 kB / 447.1 MB, free: 1.508 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.491, allocations: 27.72 kB / 447.2 MB, free: 1.48 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.4915, allocations: 270.2 kB / 447.4 MB, free: 1.18 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4916, allocations: 12.89 kB / 447.4 MB, free: 1.168 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.4916, allocations: 12 kB / 447.5 MB, free: 1.156 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004522/0.4921, allocations: 140.9 kB / 447.6 MB, free: 1.02 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.4926, allocations: 170.4 kB / 447.8 MB, free: 0.8438 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4926, allocations: 0 / 447.8 MB, free: 0.8438 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.4927, allocations: 4 kB / 447.8 MB, free: 0.8398 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4927, allocations: 4 kB / 447.8 MB, free: 0.8359 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.4953, allocations: 0.8999 MB / 448.7 MB, free: 15.87 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.4958, allocations: 128.3 kB / 448.8 MB, free: 15.73 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.496, allocations: 60.8 kB / 448.8 MB, free: 15.67 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.496, allocations: 1.125 kB / 448.9 MB, free: 15.67 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.4964, allocations: 130.4 kB / 449 MB, free: 15.52 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/0.4964, allocations: 224 / 449 MB, free: 15.52 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009758/0.4974, allocations: 222.2 kB / 449.2 MB, free: 15.3 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.4975, allocations: 114.7 kB / 449.3 MB, free: 15.16 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.4978, allocations: 208.4 kB / 449.5 MB, free: 14.95 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.4979, allocations: 29.7 kB / 449.5 MB, free: 14.92 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4981, allocations: 234.2 kB / 449.8 MB, free: 14.69 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.4981, allocations: 35.45 kB / 449.8 MB, free: 14.65 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.4982, allocations: 0 / 449.8 MB, free: 14.65 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4983, allocations: 326.8 kB / 450.1 MB, free: 14.32 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.4985, allocations: 46.62 kB / 450.2 MB, free: 14.28 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.4987, allocations: 117.8 kB / 450.3 MB, free: 14.14 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4989, allocations: 54.62 kB / 450.3 MB, free: 14.09 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4989, allocations: 0 / 450.3 MB, free: 14.09 MB / 347.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001027/0.4999, allocations: 262.3 kB / 450.6 MB, free: 13.82 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.5003, allocations: 0.6529 MB / 451.2 MB, free: 13.11 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.5003, allocations: 0 / 451.2 MB, free: 13.11 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.5006, allocations: 48.83 kB / 451.3 MB, free: 13.06 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.501, allocations: 39.97 kB / 451.3 MB, free: 13.02 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005825/0.5016, allocations: 0.5793 MB / 451.9 MB, free: 12.42 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.5022, allocations: 51.83 kB / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.5023, allocations: 4 kB / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5023, allocations: 8.062 kB / 452 MB, free: 12.36 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005367/0.5028, allocations: 170.3 kB / 452.1 MB, free: 12.19 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5029, allocations: 0 / 452.1 MB, free: 12.19 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.503, allocations: 24.84 kB / 452.2 MB, free: 12.16 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.5033, allocations: 56.09 kB / 452.2 MB, free: 12.11 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.5049, allocations: 1.385 MB / 453.6 MB, free: 10.61 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.5053, allocations: 39.84 kB / 453.6 MB, free: 10.57 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.5054, allocations: 12 kB / 453.7 MB, free: 10.55 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.000203/0.5056, allocations: 118 kB / 453.8 MB, free: 10.43 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.5057, allocations: 23.8 kB / 453.8 MB, free: 10.41 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.5058, allocations: 17.97 kB / 453.8 MB, free: 10.39 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5058, allocations: 4.812 kB / 453.8 MB, free: 10.39 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5058, allocations: 0 / 453.8 MB, free: 10.39 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5058, allocations: 3.984 kB / 453.8 MB, free: 10.38 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.5062, allocations: 261.9 kB / 454.1 MB, free: 10.09 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5062, allocations: 0 / 454.1 MB, free: 10.09 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.5065, allocations: 27.98 kB / 454.1 MB, free: 10.06 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.5067, allocations: 49.7 kB / 454.2 MB, free: 10.01 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.5067, allocations: 0.9375 kB / 454.2 MB, free: 10.01 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.5089, allocations: 1.445 MB / 455.6 MB, free: 8.461 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5089, allocations: 0 / 455.6 MB, free: 8.461 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5099, allocations: 245.7 kB / 455.8 MB, free: 8.199 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.5101, allocations: 104.8 kB / 455.9 MB, free: 8.078 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.5102, allocations: 4 kB / 455.9 MB, free: 8.074 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.5106, allocations: 39.95 kB / 456 MB, free: 8.035 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.5108, allocations: 19.97 kB / 456 MB, free: 8.016 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.5108, allocations: 7.953 kB / 456 MB, free: 8.008 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.5111, allocations: 168.5 kB / 456.2 MB, free: 7.848 MB / 347.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5111, allocations: 1.781 kB / 456.2 MB, free: 7.848 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007642/0.5119, allocations: 111.7 kB / 456.3 MB, free: 7.738 MB / 347.1 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.5121, allocations: 99.25 kB / 456.4 MB, free: 7.629 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.5132, allocations: 448.3 kB / 456.8 MB, free: 7.156 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5132, allocations: 0 / 456.8 MB, free: 7.156 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.5136, allocations: 173.7 kB / 457 MB, free: 6.977 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.514, allocations: 35.98 kB / 457 MB, free: 6.945 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.5149, allocations: 288 kB / 457.3 MB, free: 6.641 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5153, allocations: 0.7521 MB / 458.1 MB, free: 5.859 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5154, allocations: 23.38 kB / 458.1 MB, free: 5.836 MB / 347.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5154, allocations: 0 / 458.1 MB, free: 5.836 MB / 347.1 MB Notification: Performance of Templates: time 0.009893/0.5253, allocations: 3.879 MB / 462 MB, free: 1.984 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches