Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00186/0.00186, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.918/1.918, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001029/0.001029, allocations: 92.17 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002967, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3457, allocations: 47.56 MB / 375.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4745, allocations: 79.2 MB / 455 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/0.475, allocations: 83.95 kB / 455.1 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.4934, allocations: 5.734 MB / 460.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.249e-06/0.4934, allocations: 4 kB / 460.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.4935, allocations: 4 kB / 460.8 MB, free: 11.62 MB / 346.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.00138/0.4949, allocations: 0.6067 MB / 461.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.4949, allocations: 8.031 kB / 461.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/0.4951, allocations: 31.62 kB / 461.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.4955, allocations: 279.2 kB / 461.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.4956, allocations: 20.39 kB / 461.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.4956, allocations: 16 kB / 461.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.4963, allocations: 259.2 kB / 462.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4963, allocations: 4 kB / 462.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4964, allocations: 4 kB / 462.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4964, allocations: 4 kB / 462.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.4972, allocations: 273.6 kB / 462.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.4994, allocations: 0.9443 MB / 463.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009597/0.5004, allocations: 278.5 kB / 463.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.5005, allocations: 0 / 463.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.5012, allocations: 221.7 kB / 463.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.5012, allocations: 0 / 463.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.002711/0.5039, allocations: 0.7098 MB / 464.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5041, allocations: 110.8 kB / 464.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.5045, allocations: 237.8 kB / 464.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.5045, allocations: 29.7 kB / 464.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.5048, allocations: 167.9 kB / 465 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.5048, allocations: 43.45 kB / 465 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.5049, allocations: 4 kB / 465.1 MB, free: 7.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002907/0.5052, allocations: 334.8 kB / 465.4 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.5056, allocations: 112.1 kB / 465.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.5061, allocations: 174.5 kB / 465.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.5066, allocations: 150.5 kB / 465.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5066, allocations: 0 / 465.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001409/0.508, allocations: 463.7 kB / 466.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006024/0.5086, allocations: 0.6429 MB / 466.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5086, allocations: 0 / 466.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.5092, allocations: 84.8 kB / 467 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.5094, allocations: 43.91 kB / 467 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.5105, allocations: 0.6265 MB / 467.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.5109, allocations: 59.84 kB / 467.7 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.5109, allocations: 15.97 kB / 467.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.511, allocations: 4 kB / 467.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007152/0.5117, allocations: 302.4 kB / 468 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.5117, allocations: 4.219 kB / 468 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-05/0.5118, allocations: 24.84 kB / 468.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.512, allocations: 51.84 kB / 468.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.5136, allocations: 1.432 MB / 469.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.5141, allocations: 55.73 kB / 469.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5141, allocations: 8 kB / 469.6 MB, free: 2.293 MB / 346.7 MB 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 () * Number of clocked 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.0003772/0.5145, allocations: 217 kB / 469.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.5146, allocations: 16.09 kB / 469.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.5146, allocations: 25.84 kB / 469.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5147, allocations: 7.969 kB / 469.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5147, allocations: 8.062 kB / 469.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5147, allocations: 3.953 kB / 469.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.5151, allocations: 301.3 kB / 470.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5152, allocations: 0 / 470.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.5153, allocations: 31.97 kB / 470.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.5156, allocations: 81.89 kB / 470.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.5157, allocations: 0 / 470.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.5183, allocations: 1.695 MB / 472 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5183, allocations: 0 / 472 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5195, allocations: 395.6 kB / 472.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5196, allocations: 104.8 kB / 472.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.5196, allocations: 8 kB / 472.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.5199, allocations: 47.95 kB / 472.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.52, allocations: 23.91 kB / 472.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.5201, allocations: 0 / 472.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.5203, allocations: 190 kB / 472.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5203, allocations: 0 / 472.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005893/0.5209, allocations: 123.8 kB / 472.8 MB, free: 14.82 MB / 362.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.0002283/0.5211, allocations: 107.2 kB / 473 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.5227, allocations: 0.615 MB / 473.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5227, allocations: 0 / 473.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.5232, allocations: 239 kB / 473.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.5236, allocations: 47.59 kB / 473.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.5248, allocations: 0.5267 MB / 474.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.5253, allocations: 0.7563 MB / 475.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.5255, allocations: 26.28 kB / 475.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.5256, allocations: 15.44 kB / 475.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5256, allocations: 0 / 475.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.00863/0.5342, allocations: 3.554 MB / 478.7 MB, free: 8.863 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches