Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 225.6 MB / 234.8 MB, free: 3.172 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008199/0.0008202, allocations: 98.78 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.823e-05, allocations: 4 kB / 343.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 51.48 MB / 395.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3754/0.5063, allocations: 80.83 MB / 476 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5066, allocations: 82.89 kB / 476.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5219, allocations: 5.801 MB / 481.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5219, allocations: 4 kB / 481.9 MB, free: 7.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.5219, allocations: 14.11 kB / 481.9 MB, free: 7.324 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.0009682/0.5229, allocations: 0.5653 MB / 482.5 MB, free: 6.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5229, allocations: 8.031 kB / 482.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.523, allocations: 31.62 kB / 482.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.5233, allocations: 260.3 kB / 482.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5233, allocations: 15.61 kB / 482.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5233, allocations: 15.98 kB / 482.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002441/0.5236, allocations: 146 kB / 482.9 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.5239, allocations: 194.6 kB / 483.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5239, allocations: 0 / 483.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.5239, allocations: 0 / 483.1 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5239, allocations: 4 kB / 483.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.5253, allocations: 0.9713 MB / 484.1 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.5255, allocations: 133.5 kB / 484.2 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.5256, allocations: 59.33 kB / 484.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.5256, allocations: 4 kB / 484.3 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.5258, allocations: 135.2 kB / 484.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.5258, allocations: 0 / 484.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005072/0.5264, allocations: 215.6 kB / 484.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.5264, allocations: 106.8 kB / 484.7 MB, free: 4.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5266, allocations: 215.1 kB / 484.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.5266, allocations: 25.7 kB / 485 MB, free: 4.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.5266, allocations: 178.1 kB / 485.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.5267, allocations: 41.83 kB / 485.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5267, allocations: 0 / 485.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.5267, allocations: 332.4 kB / 485.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.5268, allocations: 52.55 kB / 485.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.5269, allocations: 117.5 kB / 485.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.527, allocations: 57.56 kB / 485.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.527, allocations: 4 kB / 485.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005189/0.5275, allocations: 281.8 kB / 486 MB, free: 3.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5276, allocations: 31.42 kB / 486 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5276, allocations: 4.562 kB / 486 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.5277, allocations: 49.64 kB / 486.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.5279, allocations: 51.89 kB / 486.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.529, allocations: 1.437 MB / 487.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.5294, allocations: 51.88 kB / 487.6 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.5294, allocations: 4 kB / 487.6 MB, free: 1.883 MB / 346.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: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001241/0.5296, allocations: 122.3 kB / 487.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.5296, allocations: 27.19 kB / 487.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.5297, allocations: 24.64 kB / 487.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5297, allocations: 3.938 kB / 487.8 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5297, allocations: 3.953 kB / 487.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5297, allocations: 0 / 487.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.53, allocations: 255.1 kB / 488.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.53, allocations: 0 / 488.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5302, allocations: 35.91 kB / 488.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.5303, allocations: 38.47 kB / 488.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5303, allocations: 0 / 488.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.5315, allocations: 1.431 MB / 489.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5315, allocations: 0 / 489.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.532, allocations: 264.3 kB / 489.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.5321, allocations: 92.86 kB / 489.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.5321, allocations: 9.906 kB / 489.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.5324, allocations: 43.78 kB / 490 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.5325, allocations: 19.91 kB / 490 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5325, allocations: 7.938 kB / 490 MB, free: 15.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.5326, allocations: 164.9 kB / 490.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5326, allocations: 0 / 490.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.533, allocations: 67.84 kB / 490.2 MB, free: 15.34 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) * 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.0001448/0.5331, allocations: 103 kB / 490.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.5335, allocations: 314.6 kB / 490.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5336, allocations: 0 / 490.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.5338, allocations: 180.6 kB / 490.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.534, allocations: 35.95 kB / 490.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.5346, allocations: 255.9 kB / 491.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.5349, allocations: 0.756 MB / 491.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.5351, allocations: 18.06 kB / 491.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.5351, allocations: 23.44 kB / 491.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5351, allocations: 0 / 491.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Templates: time 0.005905/0.541, allocations: 3.031 MB / 494.9 MB, free: 10.78 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches