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.001277/0.001277, allocations: 177.9 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008596/0.0008597, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.943e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4615, allocations: 78.68 MB / 441.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4617, allocations: 77.36 kB / 441.8 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01637/0.4781, allocations: 5.672 MB / 447.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4782, allocations: 0 / 447.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.4782, allocations: 5.125 kB / 447.5 MB, free: 12.12 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.0009296/0.4791, allocations: 0.5691 MB / 448.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4792, allocations: 12.03 kB / 448.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.4793, allocations: 27.72 kB / 448.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.4796, allocations: 267.7 kB / 448.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4796, allocations: 15.95 kB / 448.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.4797, allocations: 12 kB / 448.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002696/0.4799, allocations: 145.5 kB / 448.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.4803, allocations: 165.8 kB / 448.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4803, allocations: 3.938 kB / 448.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4803, allocations: 0 / 448.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4803, allocations: 7.984 kB / 448.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.4819, allocations: 0.9102 MB / 449.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4822, allocations: 127.1 kB / 449.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.4823, allocations: 58.97 kB / 449.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4824, allocations: 0 / 449.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.4826, allocations: 137.7 kB / 450 MB, free: 9.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.4826, allocations: 0 / 450 MB, free: 9.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006289/0.4833, allocations: 221 kB / 450.2 MB, free: 9.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.4833, allocations: 102.8 kB / 450.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.4836, allocations: 217 kB / 450.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4836, allocations: 25.7 kB / 450.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4837, allocations: 178.1 kB / 450.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.4838, allocations: 37.52 kB / 450.7 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.4838, allocations: 4 kB / 450.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4839, allocations: 336.6 kB / 451.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.484, allocations: 44.81 kB / 451.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.4842, allocations: 110.5 kB / 451.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.4843, allocations: 57.41 kB / 451.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4843, allocations: 0 / 451.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006257/0.4849, allocations: 277.2 kB / 451.5 MB, free: 8.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000281/0.4852, allocations: 0.6396 MB / 452.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4852, allocations: 8 kB / 452.2 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.4854, allocations: 43.41 kB / 452.2 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4856, allocations: 43.47 kB / 452.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004804/0.4861, allocations: 0.5836 MB / 452.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.4865, allocations: 47.06 kB / 452.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.4865, allocations: 8 kB / 452.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.4865, allocations: 4 kB / 452.9 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003146/0.4868, allocations: 172.3 kB / 453.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.4868, allocations: 0 / 453.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.103e-05/0.4869, allocations: 27.92 kB / 453.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.4871, allocations: 52.08 kB / 453.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.4882, allocations: 1.393 MB / 454.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.4885, allocations: 39.81 kB / 454.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4885, allocations: 7.5 kB / 454.6 MB, free: 5.316 MB / 330.7 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.0001637/0.4887, allocations: 108.9 kB / 454.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.4888, allocations: 23.88 kB / 454.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.4888, allocations: 23.64 kB / 454.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4888, allocations: 4 kB / 454.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4889, allocations: 7.875 kB / 454.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4889, allocations: 3.938 kB / 454.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.4891, allocations: 259.6 kB / 455 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4892, allocations: 0 / 455 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.4893, allocations: 30.66 kB / 455 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.4894, allocations: 43.59 kB / 455.1 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4895, allocations: 3.984 kB / 455.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.4909, allocations: 1.429 MB / 456.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4909, allocations: 8 kB / 456.5 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.4914, allocations: 244.8 kB / 456.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.4915, allocations: 104.7 kB / 456.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.4916, allocations: 3.984 kB / 456.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.4918, allocations: 39.91 kB / 456.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.4919, allocations: 23.47 kB / 456.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4919, allocations: 7.953 kB / 456.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.4921, allocations: 167.3 kB / 457.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4921, allocations: 0 / 457.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004972/0.4926, allocations: 107.7 kB / 457.2 MB, free: 2.73 MB / 330.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.0001657/0.4928, allocations: 111 kB / 457.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.4935, allocations: 436.5 kB / 457.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4935, allocations: 0 / 457.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.4937, allocations: 183.2 kB / 457.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.494, allocations: 43.02 kB / 458 MB, free: 2.031 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.4945, allocations: 258.5 kB / 458.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.4949, allocations: 0.7528 MB / 459 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.4951, allocations: 26.06 kB / 459 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4951, allocations: 15.44 kB / 459 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4951, allocations: 0 / 459 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of Templates: time 0.007569/0.5027, allocations: 3.389 MB / 462.4 MB, free: 13.59 MB / 346.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