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.001539/0.001539, allocations: 178.4 kB / 8.697 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.585/1.585, allocations: 205.3 MB / 214.4 MB, free: 1.66 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.0008325/0.0008328, allocations: 86.7 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.832e-05, allocations: 11.98 kB / 315.5 MB, free: 22.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09028, allocations: 47.58 MB / 363.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.34/0.4303, allocations: 78.68 MB / 441.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4306, allocations: 80.27 kB / 441.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.4469, allocations: 5.677 MB / 447.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.447, allocations: 1.312 kB / 447.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.447, allocations: 4 kB / 447.5 MB, free: 12.09 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.0009093/0.4479, allocations: 0.5668 MB / 448.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.448, allocations: 16.03 kB / 448.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.448, allocations: 23.72 kB / 448.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.4484, allocations: 272.7 kB / 448.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4484, allocations: 11.94 kB / 448.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.4484, allocations: 12 kB / 448.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000257/0.4487, allocations: 143.1 kB / 448.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.449, allocations: 163.8 kB / 448.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.449, allocations: 0 / 448.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.449, allocations: 15.42 kB / 448.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.449, allocations: 4 kB / 448.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.4506, allocations: 0.8976 MB / 449.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.4509, allocations: 131.8 kB / 449.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.451, allocations: 54.11 kB / 449.8 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.451, allocations: 3.984 kB / 449.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.4512, allocations: 136.8 kB / 450 MB, free: 9.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.797e-06/0.4513, allocations: 0 / 450 MB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006034/0.4519, allocations: 226.9 kB / 450.2 MB, free: 9.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4519, allocations: 102.8 kB / 450.3 MB, free: 9.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.4521, allocations: 215 kB / 450.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4522, allocations: 29.58 kB / 450.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4523, allocations: 181.4 kB / 450.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.4523, allocations: 37.33 kB / 450.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.4523, allocations: 0 / 450.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4525, allocations: 331.8 kB / 451.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.4526, allocations: 53.5 kB / 451.1 MB, free: 8.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4527, allocations: 119.6 kB / 451.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.4528, allocations: 64.41 kB / 451.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4528, allocations: 0 / 451.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006352/0.4535, allocations: 289.7 kB / 451.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.4538, allocations: 0.8158 MB / 452.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4538, allocations: 0 / 452.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.454, allocations: 50.39 kB / 452.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4543, allocations: 47.91 kB / 452.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004341/0.4547, allocations: 0.5844 MB / 453.1 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.455, allocations: 55.88 kB / 453.1 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4551, allocations: 11.75 kB / 453.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.4551, allocations: 4 kB / 453.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003259/0.4554, allocations: 181.2 kB / 453.3 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.4555, allocations: 0 / 453.3 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.835e-05/0.4555, allocations: 24.03 kB / 453.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.4557, allocations: 47.91 kB / 453.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/0.4567, allocations: 1.263 MB / 454.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.457, allocations: 43.88 kB / 454.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.457, allocations: 15.44 kB / 454.7 MB, free: 5.164 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: 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.0001432/0.4571, allocations: 112.9 kB / 454.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.4572, allocations: 23.72 kB / 454.8 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.4572, allocations: 23.08 kB / 454.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4573, allocations: 4 kB / 454.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4573, allocations: 0 / 454.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4573, allocations: 4 kB / 454.9 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4575, allocations: 257.1 kB / 455.1 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4575, allocations: 3.938 kB / 455.1 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.4577, allocations: 31.97 kB / 455.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.4578, allocations: 43.52 kB / 455.2 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4579, allocations: 4 kB / 455.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.4593, allocations: 1.524 MB / 456.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4593, allocations: 0 / 456.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.4598, allocations: 259.2 kB / 457 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.4599, allocations: 100.5 kB / 457.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.46, allocations: 3.953 kB / 457.1 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.4602, allocations: 39.95 kB / 457.1 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.4603, allocations: 19.72 kB / 457.1 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4603, allocations: 4.047 kB / 457.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.4605, allocations: 173.1 kB / 457.3 MB, free: 2.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4605, allocations: 0 / 457.3 MB, free: 2.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.461, allocations: 115.6 kB / 457.4 MB, free: 2.488 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.0001546/0.4612, allocations: 111.2 kB / 457.5 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4618, allocations: 456.8 kB / 458 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4618, allocations: 3.938 kB / 458 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.4621, allocations: 175.1 kB / 458.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.4623, allocations: 31.41 kB / 458.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.4652, allocations: 0.7798 MB / 459 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4655, allocations: 0.7528 MB / 459.7 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.4657, allocations: 34.05 kB / 459.8 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.4658, allocations: 15.44 kB / 459.8 MB, free: 188 kB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4658, allocations: 0 / 459.8 MB, free: 188 kB / 330.7 MB Notification: Performance of Templates: time 0.006772/0.4726, allocations: 3.377 MB / 463.1 MB, free: 12.81 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