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.001539/0.001538, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 202 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.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3572, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004035/0.3612, allocations: 2.772 MB / 412.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3625, allocations: 0.7012 MB / 412.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3627, allocations: 3.938 kB / 412.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3629, allocations: 47.56 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.3631, allocations: 91.25 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.3634, allocations: 99.83 kB / 413 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.3638, allocations: 358.5 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.364, allocations: 80.7 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3641, allocations: 139.4 kB / 413.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3643, allocations: 151.3 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.3644, allocations: 28 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.3644, allocations: 32 kB / 413.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-05/0.3645, allocations: 63.77 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3647, allocations: 151.2 kB / 414 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.3651, allocations: 328 kB / 414.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3651, allocations: 0 / 414.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3652, allocations: 0 / 414.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3652, allocations: 0 / 414.3 MB, free: 12.58 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.001238/0.3664, allocations: 0.6379 MB / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3665, allocations: 8.031 kB / 414.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3665, allocations: 32.56 kB / 415 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.3669, allocations: 279.7 kB / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.367, allocations: 16.81 kB / 415.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.367, allocations: 16.38 kB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.3676, allocations: 278.1 kB / 415.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3677, allocations: 0 / 415.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3677, allocations: 12 kB / 415.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3677, allocations: 8 kB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.3684, allocations: 245.5 kB / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.37, allocations: 0.9441 MB / 416.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.3708, allocations: 234.6 kB / 417 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.3711, allocations: 104.8 kB / 417.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3712, allocations: 4.156 kB / 417.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.3716, allocations: 185.7 kB / 417.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 4.578e-06/0.3716, allocations: 4 kB / 417.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002225/0.3739, allocations: 0.6508 MB / 417.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3739, allocations: 110.8 kB / 418 MB, free: 8.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3742, allocations: 258.6 kB / 418.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3743, allocations: 33.7 kB / 418.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3744, allocations: 175.8 kB / 418.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.3744, allocations: 39.45 kB / 418.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.3745, allocations: 45.61 kB / 418.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3747, allocations: 338.8 kB / 418.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.375, allocations: 99.92 kB / 419 MB, free: 7.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.3754, allocations: 171.7 kB / 419.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.376, allocations: 268.4 kB / 419.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.376, allocations: 0 / 419.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001112/0.3771, allocations: 439.5 kB / 419.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.3772, allocations: 40.98 kB / 419.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3772, allocations: 0 / 419.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.3776, allocations: 80.8 kB / 420 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3778, allocations: 43.91 kB / 420 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.3804, allocations: 1.947 MB / 422 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.3807, allocations: 59.67 kB / 422 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3807, allocations: 4 kB / 422 MB, free: 4.328 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.0001546/0.3809, allocations: 141.8 kB / 422.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.3809, allocations: 19.72 kB / 422.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.381, allocations: 37.7 kB / 422.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.381, allocations: 0 / 422.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.381, allocations: 0 / 422.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.381, allocations: 0 / 422.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3813, allocations: 301.5 kB / 422.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3813, allocations: 0 / 422.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3814, allocations: 19.98 kB / 422.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.3817, allocations: 72.8 kB / 422.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3817, allocations: 12.05 kB / 422.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.3838, allocations: 1.762 MB / 424.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3838, allocations: 8.047 kB / 424.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.3848, allocations: 349.3 kB / 424.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.3849, allocations: 104.8 kB / 424.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3849, allocations: 3.938 kB / 424.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.3852, allocations: 39.95 kB / 424.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.3852, allocations: 15.98 kB / 424.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3853, allocations: 7.984 kB / 424.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.3855, allocations: 186 kB / 425.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3855, allocations: 0 / 425.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.3858, allocations: 75.84 kB / 425.2 MB, free: 0.957 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.0001765/0.386, allocations: 99.25 kB / 425.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.387, allocations: 417.9 kB / 425.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.387, allocations: 0 / 425.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.3875, allocations: 230.5 kB / 425.9 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3878, allocations: 52.97 kB / 425.9 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3889, allocations: 451.4 kB / 426.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3893, allocations: 0.7518 MB / 427.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.153e-05/0.3894, allocations: 22.28 kB / 427.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.3895, allocations: 19.42 kB / 427.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3895, allocations: 4 kB / 427.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Templates: time 0.00766/0.3972, allocations: 3.888 MB / 431.1 MB, free: 10.98 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