Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.6 MB / 234.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007851/0.0007852, allocations: 100.6 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.747e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09163, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4062, allocations: 80.82 MB / 476 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4064, allocations: 81.23 kB / 476.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.4209, allocations: 5.815 MB / 481.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4209, allocations: 0 / 481.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.421, allocations: 11.17 kB / 481.9 MB, free: 7.398 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.0008155/0.4218, allocations: 0.5717 MB / 482.5 MB, free: 6.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4218, allocations: 8.031 kB / 482.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.4219, allocations: 35.09 kB / 482.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.4222, allocations: 264.1 kB / 482.8 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4222, allocations: 7.609 kB / 482.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.4223, allocations: 15.31 kB / 482.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00025/0.4225, allocations: 139.5 kB / 482.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4228, allocations: 202.7 kB / 483.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4228, allocations: 4 kB / 483.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.4229, allocations: 0 / 483.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4229, allocations: 4 kB / 483.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.4244, allocations: 0.9679 MB / 484.1 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.4246, allocations: 129.1 kB / 484.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.248e-05/0.4247, allocations: 55.55 kB / 484.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4248, allocations: 3.938 kB / 484.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.425, allocations: 131.2 kB / 484.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.425, allocations: 4 kB / 484.4 MB, free: 5.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005448/0.4255, allocations: 219.6 kB / 484.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.4256, allocations: 110.4 kB / 484.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4258, allocations: 215 kB / 485 MB, free: 4.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4258, allocations: 29.7 kB / 485 MB, free: 4.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.4259, allocations: 183.3 kB / 485.2 MB, free: 4.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.4259, allocations: 34.77 kB / 485.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.4259, allocations: 4 kB / 485.2 MB, free: 4.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.426, allocations: 336.3 kB / 485.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.426, allocations: 50.06 kB / 485.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.4261, allocations: 132 kB / 485.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.4262, allocations: 60.39 kB / 485.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4263, allocations: 0 / 485.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005896/0.4268, allocations: 299.2 kB / 486.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.4269, allocations: 33.7 kB / 486.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4269, allocations: 0 / 486.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.4271, allocations: 50.2 kB / 486.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.4273, allocations: 55.89 kB / 486.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4284, allocations: 1.534 MB / 487.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.4287, allocations: 64.05 kB / 487.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.4287, allocations: 4 kB / 487.8 MB, free: 1.82 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: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001115/0.4289, allocations: 123 kB / 487.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.4289, allocations: 23.67 kB / 487.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.4289, allocations: 32.45 kB / 488 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4289, allocations: 0 / 488 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.429, allocations: 0 / 488 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.429, allocations: 0 / 488 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.4291, allocations: 252 kB / 488.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4291, allocations: 0 / 488.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.4293, allocations: 31.53 kB / 488.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.4294, allocations: 47.27 kB / 488.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4294, allocations: 4 kB / 488.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.4304, allocations: 1.534 MB / 489.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4304, allocations: 0 / 489.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.431, allocations: 252.2 kB / 490.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.431, allocations: 100.1 kB / 490.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.4311, allocations: 3.984 kB / 490.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.4313, allocations: 39.97 kB / 490.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.4314, allocations: 18.97 kB / 490.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4314, allocations: 7.688 kB / 490.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.4316, allocations: 167.2 kB / 490.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4316, allocations: 0 / 490.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.432, allocations: 67.84 kB / 490.5 MB, free: 15.19 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.0001464/0.4321, allocations: 109.1 kB / 490.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004389/0.4326, allocations: 310.8 kB / 490.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4326, allocations: 0 / 490.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.4328, allocations: 178.9 kB / 491.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.4331, allocations: 52.23 kB / 491.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.4357, allocations: 0.7701 MB / 491.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4361, allocations: 0.756 MB / 492.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.4362, allocations: 22.08 kB / 492.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.4362, allocations: 15.44 kB / 492.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4362, allocations: 5.688 kB / 492.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Templates: time 0.006046/0.4423, allocations: 3.024 MB / 495.7 MB, free: 10.08 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches