Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001033/0.001034, allocations: 172.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000916/0.0009159, allocations: 86.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.545e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4789, allocations: 79.11 MB / 449.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4792, allocations: 81.55 kB / 449.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4956, allocations: 5.728 MB / 454.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4957, allocations: 4 kB / 455 MB, free: 9.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4957, allocations: 4 kB / 455 MB, free: 9.188 MB / 330.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.0009826/0.4967, allocations: 0.5697 MB / 455.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4967, allocations: 12.03 kB / 455.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.4968, allocations: 23.72 kB / 455.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.4972, allocations: 276.6 kB / 455.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4972, allocations: 19.58 kB / 455.9 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.4973, allocations: 15.75 kB / 455.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.4976, allocations: 200 kB / 456.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4976, allocations: 0 / 456.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4977, allocations: 7.25 kB / 456.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4977, allocations: 4 kB / 456.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.4979, allocations: 159.3 kB / 456.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.4996, allocations: 0.9467 MB / 457.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.5, allocations: 134.7 kB / 457.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.5001, allocations: 54.11 kB / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.5001, allocations: 8 kB / 457.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.5004, allocations: 140.1 kB / 457.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.5004, allocations: 0 / 457.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006975/0.5011, allocations: 231 kB / 457.7 MB, free: 6.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.5012, allocations: 114.5 kB / 457.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5015, allocations: 236 kB / 458.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.5016, allocations: 33.14 kB / 458.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.5017, allocations: 182.7 kB / 458.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.5018, allocations: 42.02 kB / 458.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.5018, allocations: 2.812 kB / 458.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5019, allocations: 340 kB / 458.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.5021, allocations: 54.88 kB / 458.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5022, allocations: 133.6 kB / 458.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.5024, allocations: 82 kB / 458.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5024, allocations: 4.031 kB / 458.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006828/0.5031, allocations: 343.5 kB / 459.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.5034, allocations: 0.8136 MB / 460.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5034, allocations: 3.984 kB / 460.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.5037, allocations: 52.52 kB / 460.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.5039, allocations: 47.91 kB / 460.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008103/0.5047, allocations: 0.6552 MB / 460.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.5051, allocations: 71.48 kB / 460.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.5051, allocations: 8 kB / 460.9 MB, free: 3.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.5051, allocations: 4 kB / 460.9 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003871/0.5055, allocations: 221.7 kB / 461.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5055, allocations: 4 kB / 461.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.475e-05/0.5056, allocations: 25.09 kB / 461.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.5058, allocations: 59.89 kB / 461.2 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.5069, allocations: 1.304 MB / 462.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.5072, allocations: 47.77 kB / 462.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.5073, allocations: 12.08 kB / 462.6 MB, free: 1.754 MB / 330.7 MB 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.0001576/0.5074, allocations: 129 kB / 462.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.5075, allocations: 23.72 kB / 462.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.5075, allocations: 21.95 kB / 462.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5076, allocations: 0 / 462.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5076, allocations: 4 kB / 462.8 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5076, allocations: 3.953 kB / 462.8 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.5079, allocations: 297.4 kB / 463 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5079, allocations: 0 / 463 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.5081, allocations: 27.98 kB / 463.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.5082, allocations: 48.83 kB / 463.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5083, allocations: 0 / 463.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.51, allocations: 1.588 MB / 464.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.51, allocations: 0 / 464.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.5106, allocations: 269.7 kB / 465 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.5107, allocations: 100.8 kB / 465.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.5107, allocations: 8 kB / 465.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.511, allocations: 43.97 kB / 465.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.5111, allocations: 19.97 kB / 465.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.5111, allocations: 3.984 kB / 465.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.5113, allocations: 187.1 kB / 465.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5113, allocations: 7.938 kB / 465.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.5118, allocations: 119.7 kB / 465.5 MB, free: 14.64 MB / 346.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) * 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.0001957/0.512, allocations: 111.2 kB / 465.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.5132, allocations: 0.5383 MB / 466.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5132, allocations: 3.938 kB / 466.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.5135, allocations: 187.5 kB / 466.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5138, allocations: 48.52 kB / 466.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.5167, allocations: 0.7873 MB / 467.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.5171, allocations: 0.7492 MB / 467.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000206/0.5173, allocations: 38.05 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.5174, allocations: 19.44 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5174, allocations: 0 / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of Templates: time 0.007857/0.5253, allocations: 3.72 MB / 471.6 MB, free: 8.34 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches