Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001626, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001939/0.001939, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.4 MB / 250 MB, free: 9.105 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 71.83 kB / 367.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.293, allocations: 53.32 MB / 420.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004219/0.2972, allocations: 2.78 MB / 423.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2985, allocations: 0.709 MB / 424.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2986, allocations: 7.938 kB / 424.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.2988, allocations: 39.58 kB / 424.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.299, allocations: 91.25 kB / 424.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.2993, allocations: 95.81 kB / 424.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.2997, allocations: 358.5 kB / 424.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.2999, allocations: 60.7 kB / 424.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3, allocations: 135.5 kB / 425 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3002, allocations: 155.3 kB / 425.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/0.3003, allocations: 28 kB / 425.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.3004, allocations: 28 kB / 425.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.3004, allocations: 63.77 kB / 425.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.3006, allocations: 147.2 kB / 425.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.301, allocations: 326.7 kB / 425.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.301, allocations: 0 / 425.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.301, allocations: 0 / 425.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.301, allocations: 0 / 425.7 MB, free: 3.293 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.001281/0.3023, allocations: 0.6561 MB / 426.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3023, allocations: 12.03 kB / 426.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.3024, allocations: 32.75 kB / 426.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3028, allocations: 279.8 kB / 426.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3028, allocations: 12.81 kB / 426.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.3029, allocations: 24.31 kB / 426.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.3035, allocations: 282.1 kB / 427 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3036, allocations: 7.938 kB / 427 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.3036, allocations: 4 kB / 427 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3036, allocations: 8 kB / 427 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.3043, allocations: 245.6 kB / 427.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.306, allocations: 0.9444 MB / 428.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.3068, allocations: 230.6 kB / 428.4 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.3071, allocations: 96.78 kB / 428.5 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3071, allocations: 224 / 428.5 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.3076, allocations: 189.7 kB / 428.7 MB, free: 96 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3076, allocations: 0 / 428.7 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002246/0.3098, allocations: 0.6513 MB / 429.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3099, allocations: 106.8 kB / 429.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.3102, allocations: 262.6 kB / 429.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3102, allocations: 33.7 kB / 429.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3104, allocations: 172.2 kB / 429.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.3104, allocations: 47.62 kB / 429.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-05/0.3105, allocations: 45.66 kB / 430 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3107, allocations: 342.8 kB / 430.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.311, allocations: 91.92 kB / 430.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.3114, allocations: 173.5 kB / 430.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.3121, allocations: 270.9 kB / 430.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3121, allocations: 4 kB / 430.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001238/0.3134, allocations: 427.6 kB / 431.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.3134, allocations: 41.69 kB / 431.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3134, allocations: 4 kB / 431.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/0.3138, allocations: 68.81 kB / 431.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.314, allocations: 48.02 kB / 431.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.3168, allocations: 1.959 MB / 433.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3171, allocations: 47.86 kB / 433.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3171, allocations: 15.98 kB / 433.5 MB, free: 11.02 MB / 350.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.0001622/0.3173, allocations: 129.8 kB / 433.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3173, allocations: 23.86 kB / 433.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.3174, allocations: 29.77 kB / 433.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3174, allocations: 4 kB / 433.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3174, allocations: 0 / 433.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3174, allocations: 0 / 433.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.3177, allocations: 285.5 kB / 433.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3177, allocations: 7.938 kB / 433.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3179, allocations: 27.97 kB / 433.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.3181, allocations: 72.8 kB / 434 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3181, allocations: 11.94 kB / 434 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.3205, allocations: 1.763 MB / 435.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3205, allocations: 0 / 435.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3216, allocations: 368.9 kB / 436.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.3216, allocations: 96.95 kB / 436.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3217, allocations: 7.938 kB / 436.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3219, allocations: 27.97 kB / 436.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.322, allocations: 23.97 kB / 436.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.322, allocations: 4 kB / 436.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.3222, allocations: 194 kB / 436.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3222, allocations: 0 / 436.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3226, allocations: 75.89 kB / 436.6 MB, free: 7.656 MB / 350.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.000139/0.3227, allocations: 99.25 kB / 436.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3238, allocations: 409.7 kB / 437.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3238, allocations: 0 / 437.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.3243, allocations: 223 kB / 437.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3246, allocations: 44.47 kB / 437.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.3256, allocations: 455 kB / 437.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3259, allocations: 0.7557 MB / 438.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.152e-05/0.326, allocations: 22.3 kB / 438.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.3261, allocations: 19.44 kB / 438.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3261, allocations: 0 / 438.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of Templates: time 0.008384/0.3345, allocations: 3.933 MB / 442.5 MB, free: 1.66 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches