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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3311, allocations: 50.55 MB / 409.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004694/0.3359, allocations: 2.765 MB / 412.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3377, allocations: 0.7011 MB / 412.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.3379, allocations: 4 kB / 412.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3382, allocations: 39.58 kB / 412.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3384, allocations: 91.25 kB / 412.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.3387, allocations: 103.8 kB / 413 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.3392, allocations: 350.5 kB / 413.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3394, allocations: 84.69 kB / 413.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3396, allocations: 139.4 kB / 413.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3398, allocations: 151.3 kB / 413.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.3399, allocations: 28 kB / 413.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.3399, allocations: 32 kB / 413.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.34, allocations: 59.81 kB / 413.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3402, allocations: 151.2 kB / 414 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.3406, allocations: 320.2 kB / 414.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3406, allocations: 3.938 kB / 414.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3406, allocations: 0 / 414.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3406, allocations: 0 / 414.3 MB, free: 12.71 MB / 334.1 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.001301/0.3419, allocations: 0.6379 MB / 414.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3419, allocations: 12.02 kB / 414.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.342, allocations: 36.56 kB / 415 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.3425, allocations: 275.7 kB / 415.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3425, allocations: 16.81 kB / 415.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.3425, allocations: 20.31 kB / 415.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.3432, allocations: 282.1 kB / 415.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3432, allocations: 3.984 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3433, allocations: 12 kB / 415.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3433, allocations: 4 kB / 415.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.344, allocations: 249.5 kB / 415.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.3456, allocations: 0.9363 MB / 416.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.3465, allocations: 242.5 kB / 417 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.3469, allocations: 104.8 kB / 417.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3469, allocations: 7.984 kB / 417.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004809/0.3474, allocations: 185.5 kB / 417.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.3474, allocations: 3.938 kB / 417.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002407/0.3498, allocations: 0.6473 MB / 417.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.3499, allocations: 106.8 kB / 418 MB, free: 8.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3502, allocations: 262.6 kB / 418.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3502, allocations: 29.7 kB / 418.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.3504, allocations: 183.7 kB / 418.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.3504, allocations: 39.45 kB / 418.5 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.3505, allocations: 45.61 kB / 418.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3507, allocations: 346.8 kB / 418.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.351, allocations: 91.92 kB / 419 MB, free: 7.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.3514, allocations: 167.5 kB / 419.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.3522, allocations: 272.4 kB / 419.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3522, allocations: 0 / 419.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001224/0.3534, allocations: 434.4 kB / 419.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.3535, allocations: 37.7 kB / 419.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3535, allocations: 0 / 419.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.3539, allocations: 80.8 kB / 420 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3541, allocations: 47.92 kB / 420 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.3571, allocations: 1.943 MB / 422 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.3575, allocations: 51.72 kB / 422 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3575, allocations: 12 kB / 422 MB, free: 4.453 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.3577, allocations: 145.7 kB / 422.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3577, allocations: 23.72 kB / 422.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.3578, allocations: 29.77 kB / 422.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3578, allocations: 0 / 422.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3578, allocations: 4 kB / 422.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3578, allocations: 0 / 422.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3581, allocations: 285.5 kB / 422.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3581, allocations: 4 kB / 422.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3582, allocations: 27.97 kB / 422.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.3585, allocations: 80.86 kB / 422.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3585, allocations: 11.94 kB / 422.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.3608, allocations: 1.75 MB / 424.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3608, allocations: 0 / 424.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.362, allocations: 361.4 kB / 424.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.362, allocations: 100.8 kB / 424.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.3621, allocations: 11.88 kB / 424.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.3623, allocations: 31.97 kB / 424.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3624, allocations: 15.97 kB / 424.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3624, allocations: 4 kB / 424.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3626, allocations: 197.9 kB / 425.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3626, allocations: 4 kB / 425.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.363, allocations: 71.84 kB / 425.2 MB, free: 1.078 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.3632, allocations: 102.8 kB / 425.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009963/0.3642, allocations: 405.9 kB / 425.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3642, allocations: 4 kB / 425.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.3647, allocations: 238.8 kB / 425.9 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3651, allocations: 50.58 kB / 425.9 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3661, allocations: 451.3 kB / 426.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3665, allocations: 0.7479 MB / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.574e-05/0.3666, allocations: 22.3 kB / 427.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.3666, allocations: 23.38 kB / 427.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3666, allocations: 0 / 427.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Templates: time 0.007947/0.3746, allocations: 3.888 MB / 431.1 MB, free: 11.11 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches