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/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.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/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 113.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3122, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003851/0.3161, allocations: 2.773 MB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3173, allocations: 0.7011 MB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3175, allocations: 4 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3176, allocations: 47.56 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.3178, allocations: 87.25 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3181, allocations: 99.81 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.3184, allocations: 358.5 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3186, allocations: 84.69 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3188, allocations: 135.4 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.3191, allocations: 151.3 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.3191, allocations: 28 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.3192, allocations: 32 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.3193, allocations: 55.83 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3195, allocations: 155.2 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.3199, allocations: 328 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.3199, allocations: 0 / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3199, allocations: 0 / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3199, allocations: 0 / 415 MB, free: 12.56 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.001443/0.3214, allocations: 0.6418 MB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3214, allocations: 12.03 kB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.3215, allocations: 36.56 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.322, allocations: 271.7 kB / 415.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.322, allocations: 16.81 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.322, allocations: 24.38 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.3227, allocations: 274.1 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3227, allocations: 0 / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3228, allocations: 8 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3228, allocations: 7.984 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.3235, allocations: 249.5 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.325, allocations: 0.9441 MB / 417.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.3258, allocations: 238.5 kB / 417.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.3262, allocations: 104.8 kB / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3262, allocations: 224 / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.3267, allocations: 185.7 kB / 418 MB, free: 9.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3267, allocations: 0 / 418 MB, free: 9.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002284/0.329, allocations: 0.6585 MB / 418.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.329, allocations: 102.8 kB / 418.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3293, allocations: 270.6 kB / 419 MB, free: 8.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.3293, allocations: 37.64 kB / 419 MB, free: 8.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3295, allocations: 183.7 kB / 419.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3295, allocations: 39.44 kB / 419.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.3296, allocations: 49.7 kB / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3297, allocations: 334.8 kB / 419.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.3301, allocations: 99.92 kB / 419.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3304, allocations: 182.2 kB / 419.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.3311, allocations: 293.9 kB / 420.2 MB, free: 7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3311, allocations: 4 kB / 420.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00118/0.3323, allocations: 443.6 kB / 420.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.3324, allocations: 37.77 kB / 420.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.3324, allocations: 0 / 420.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.3328, allocations: 76.8 kB / 420.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.333, allocations: 47.91 kB / 420.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.3357, allocations: 1.998 MB / 422.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3361, allocations: 59.64 kB / 422.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3361, allocations: 8 kB / 422.8 MB, free: 4.172 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001398/0.3362, allocations: 141.7 kB / 423 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.3363, allocations: 31.81 kB / 423 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.3363, allocations: 33.77 kB / 423 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3363, allocations: 0 / 423 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3364, allocations: 0 / 423 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3364, allocations: 0 / 423 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.3366, allocations: 297.4 kB / 423.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3366, allocations: 3.984 kB / 423.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.3368, allocations: 15.98 kB / 423.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.337, allocations: 84.73 kB / 423.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3371, allocations: 3.938 kB / 423.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.3393, allocations: 1.919 MB / 425.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.3393, allocations: 3.938 kB / 425.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3403, allocations: 357.5 kB / 425.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.3404, allocations: 96.77 kB / 425.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3405, allocations: 11.98 kB / 425.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3407, allocations: 31.97 kB / 425.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.3408, allocations: 23.97 kB / 425.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3408, allocations: 0 / 425.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.341, allocations: 194 kB / 426.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.341, allocations: 0 / 426.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.3414, allocations: 71.91 kB / 426.1 MB, free: 0.6367 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.0001499/0.3415, allocations: 107.2 kB / 426.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3428, allocations: 481.8 kB / 426.7 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3428, allocations: 448 / 426.7 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.3433, allocations: 238.5 kB / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.3436, allocations: 58.09 kB / 427 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.3466, allocations: 0.9192 MB / 427.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.347, allocations: 0.7518 MB / 428.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.3471, allocations: 19.44 kB / 428.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3471, allocations: 0 / 428.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.006824/0.3539, allocations: 4.234 MB / 432.9 MB, free: 9.754 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches