Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 178.4 kB / 8.362 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 1.987/1.987, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001123/0.001123, allocations: 93.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.488e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4631, allocations: 78.46 MB / 440.8 MB, free: 7.883 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004604/0.4636, allocations: 83.89 kB / 440.9 MB, free: 7.801 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03141/0.4951, allocations: 5.682 MB / 446.6 MB, free: 2.133 MB / 331.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.4951, allocations: 7.938 kB / 446.6 MB, free: 2.125 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.4952, allocations: 4 kB / 446.6 MB, free: 2.121 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.001569/0.4967, allocations: 0.5625 MB / 447.1 MB, free: 1.512 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4968, allocations: 8.031 kB / 447.1 MB, free: 1.504 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.497, allocations: 27.72 kB / 447.2 MB, free: 1.477 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.4976, allocations: 270.2 kB / 447.4 MB, free: 1.176 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.4976, allocations: 11.95 kB / 447.4 MB, free: 1.164 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.4977, allocations: 16 kB / 447.5 MB, free: 1.148 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004935/0.4982, allocations: 140.9 kB / 447.6 MB, free: 1.012 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.4987, allocations: 171.7 kB / 447.8 MB, free: 0.8359 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4987, allocations: 0 / 447.8 MB, free: 0.8359 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.4988, allocations: 0 / 447.8 MB, free: 0.8359 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4988, allocations: 4 kB / 447.8 MB, free: 0.832 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.5017, allocations: 0.9 MB / 448.7 MB, free: 15.86 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.5022, allocations: 126.7 kB / 448.8 MB, free: 15.73 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.5024, allocations: 57.08 kB / 448.8 MB, free: 15.67 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.5024, allocations: 15.88 kB / 448.9 MB, free: 15.66 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.5028, allocations: 123.1 kB / 449 MB, free: 15.52 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.5028, allocations: 0 / 449 MB, free: 15.52 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.001078/0.5039, allocations: 227.5 kB / 449.2 MB, free: 15.29 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.504, allocations: 106.8 kB / 449.3 MB, free: 15.16 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.5044, allocations: 212.5 kB / 449.5 MB, free: 14.95 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.5045, allocations: 29.7 kB / 449.5 MB, free: 14.91 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.5047, allocations: 239.7 kB / 449.8 MB, free: 14.68 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.5047, allocations: 39.45 kB / 449.8 MB, free: 14.64 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.5048, allocations: 4 kB / 449.8 MB, free: 14.63 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5049, allocations: 318.8 kB / 450.1 MB, free: 14.31 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.5051, allocations: 50.44 kB / 450.2 MB, free: 14.27 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5054, allocations: 125.4 kB / 450.3 MB, free: 14.11 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.5056, allocations: 58.38 kB / 450.4 MB, free: 14.05 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.5056, allocations: 12.02 kB / 450.4 MB, free: 14.04 MB / 347.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001132/0.5067, allocations: 270.3 kB / 450.6 MB, free: 13.77 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004383/0.5072, allocations: 0.8189 MB / 451.5 MB, free: 12.88 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5072, allocations: 4 kB / 451.5 MB, free: 12.88 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.5076, allocations: 40.84 kB / 451.5 MB, free: 12.84 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.508, allocations: 56.77 kB / 451.6 MB, free: 12.78 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006222/0.5086, allocations: 0.5797 MB / 452.1 MB, free: 12.18 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.5093, allocations: 71.56 kB / 452.2 MB, free: 12.11 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.5093, allocations: 8 kB / 452.2 MB, free: 12.1 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5093, allocations: 1.5 kB / 452.2 MB, free: 12.1 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00055/0.5099, allocations: 170.3 kB / 452.4 MB, free: 11.93 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5099, allocations: 0 / 452.4 MB, free: 11.93 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.51, allocations: 25.09 kB / 452.4 MB, free: 11.91 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.5104, allocations: 55.91 kB / 452.5 MB, free: 11.85 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.5118, allocations: 1.264 MB / 453.7 MB, free: 10.47 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.5122, allocations: 35.91 kB / 453.8 MB, free: 10.43 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.5123, allocations: 14.81 kB / 453.8 MB, free: 10.42 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: 9 * 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 (20): * Single equations (assignments): 18 * 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.0002233/0.5125, allocations: 118.9 kB / 453.9 MB, free: 10.3 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.5126, allocations: 27.7 kB / 453.9 MB, free: 10.27 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.5127, allocations: 17.97 kB / 453.9 MB, free: 10.25 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.5127, allocations: 4 kB / 453.9 MB, free: 10.25 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5127, allocations: 0 / 453.9 MB, free: 10.25 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5128, allocations: 4.125 kB / 453.9 MB, free: 10.25 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.5132, allocations: 262.9 kB / 454.2 MB, free: 9.953 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.5132, allocations: 0 / 454.2 MB, free: 9.953 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.5135, allocations: 35.95 kB / 454.2 MB, free: 9.918 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.5137, allocations: 40.84 kB / 454.3 MB, free: 9.875 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.5137, allocations: 0 / 454.3 MB, free: 9.875 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.516, allocations: 1.525 MB / 455.8 MB, free: 8.242 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/0.5161, allocations: 4.031 kB / 455.8 MB, free: 8.238 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.5171, allocations: 253.6 kB / 456.1 MB, free: 7.969 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5172, allocations: 100.8 kB / 456.2 MB, free: 7.852 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.5173, allocations: 11.95 kB / 456.2 MB, free: 7.84 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.5178, allocations: 35.97 kB / 456.2 MB, free: 7.805 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5179, allocations: 22.22 kB / 456.2 MB, free: 7.785 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.5179, allocations: 7.984 kB / 456.2 MB, free: 7.777 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.5182, allocations: 168.5 kB / 456.4 MB, free: 7.617 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5182, allocations: 0 / 456.4 MB, free: 7.617 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007247/0.519, allocations: 111.7 kB / 456.5 MB, free: 7.508 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.0002021/0.5192, allocations: 112.4 kB / 456.6 MB, free: 7.387 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.5203, allocations: 448.3 kB / 457.1 MB, free: 6.914 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5203, allocations: 0 / 457.1 MB, free: 6.914 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.5207, allocations: 178.7 kB / 457.2 MB, free: 6.73 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.5212, allocations: 36.42 kB / 457.3 MB, free: 6.695 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.5261, allocations: 0.7926 MB / 458.1 MB, free: 5.875 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.5266, allocations: 0.7522 MB / 458.8 MB, free: 5.094 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5268, allocations: 20 kB / 458.8 MB, free: 5.074 MB / 347.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5268, allocations: 0 / 458.8 MB, free: 5.074 MB / 347.1 MB Notification: Performance of Templates: time 0.009806/0.5366, allocations: 3.926 MB / 462.8 MB, free: 1.176 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches