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/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.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/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008389/0.0008387, allocations: 110.7 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2901, allocations: 51.3 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3968, allocations: 81.52 MB / 490.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3971, allocations: 80.58 kB / 491 MB, free: 9.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.414, allocations: 5.896 MB / 496.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4141, allocations: 0 / 496.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.4141, allocations: 11.98 kB / 496.9 MB, free: 3.957 MB / 362.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.001121/0.4153, allocations: 0.6029 MB / 497.5 MB, free: 3.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4153, allocations: 8.031 kB / 497.5 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.998e-05/0.4154, allocations: 32.56 kB / 497.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.4158, allocations: 280.1 kB / 497.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.4159, allocations: 16.81 kB / 497.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.4159, allocations: 16.38 kB / 497.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.4166, allocations: 290.3 kB / 498.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4166, allocations: 192 / 498.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.4166, allocations: 19.88 kB / 498.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4167, allocations: 8 kB / 498.2 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.4174, allocations: 265.6 kB / 498.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.4193, allocations: 1.017 MB / 499.4 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.4201, allocations: 278.5 kB / 499.7 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.4204, allocations: 108.8 kB / 499.8 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.4204, allocations: 11.98 kB / 499.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.421, allocations: 181.9 kB / 0.4883 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 4.439e-06/0.421, allocations: 0 / 0.4883 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002198/0.4232, allocations: 0.7328 MB / 0.489 GB, free: 15.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.4233, allocations: 111 kB / 0.4891 GB, free: 15.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.4236, allocations: 262.5 kB / 0.4894 GB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4237, allocations: 37.58 kB / 0.4894 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4239, allocations: 175.9 kB / 0.4896 GB, free: 15.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.4239, allocations: 43.36 kB / 0.4896 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.4239, allocations: 4 kB / 0.4896 GB, free: 15.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4241, allocations: 342.8 kB / 0.4899 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.4244, allocations: 103.9 kB / 0.49 GB, free: 14.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.4248, allocations: 187.3 kB / 0.4902 GB, free: 14.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.4255, allocations: 295 kB / 0.4905 GB, free: 14.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4255, allocations: 4 kB / 0.4905 GB, free: 14.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001176/0.4267, allocations: 455.7 kB / 0.4909 GB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.4268, allocations: 45.62 kB / 0.491 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4268, allocations: 0 / 0.491 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.4272, allocations: 80.84 kB / 0.491 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.4274, allocations: 51.91 kB / 0.4911 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.43, allocations: 1.803 MB / 0.4929 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.4305, allocations: 59.64 kB / 0.4929 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4305, allocations: 8 kB / 0.4929 GB, free: 11.58 MB / 378.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (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.0002275/0.4308, allocations: 145.8 kB / 0.4931 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4308, allocations: 19.72 kB / 0.4931 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.157e-05/0.4309, allocations: 29.83 kB / 0.4931 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4309, allocations: 0 / 0.4931 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4309, allocations: 0 / 0.4931 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4309, allocations: 7.922 kB / 0.4931 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.4313, allocations: 289.5 kB / 0.4934 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4313, allocations: 0 / 0.4934 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.4314, allocations: 31.97 kB / 0.4934 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/0.4317, allocations: 80.94 kB / 0.4935 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4318, allocations: 7.984 kB / 0.4935 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.434, allocations: 1.663 MB / 0.4951 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4341, allocations: 8.094 kB / 0.4951 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4353, allocations: 393.3 kB / 0.4955 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4355, allocations: 108.8 kB / 0.4956 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.4355, allocations: 4 kB / 0.4956 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4358, allocations: 43.97 kB / 0.4957 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4359, allocations: 23.91 kB / 0.4957 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4359, allocations: 7.984 kB / 0.4957 GB, free: 8.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.4361, allocations: 182 kB / 0.4959 GB, free: 8.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4361, allocations: 4 kB / 0.4959 GB, free: 8.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.4366, allocations: 75.84 kB / 0.4959 GB, free: 8.254 MB / 378.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) * 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 (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.0001753/0.4367, allocations: 107.2 kB / 0.496 GB, free: 8.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.4378, allocations: 441.9 kB / 0.4965 GB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4378, allocations: 0 / 0.4965 GB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.4383, allocations: 242.8 kB / 0.4967 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4387, allocations: 46.91 kB / 0.4967 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4398, allocations: 0.5228 MB / 0.4973 GB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4402, allocations: 0.7443 MB / 0.498 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.4403, allocations: 22.28 kB / 0.498 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.4404, allocations: 19.44 kB / 0.498 GB, free: 6.035 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4404, allocations: 4 kB / 0.498 GB, free: 6.031 MB / 378.7 MB Notification: Performance of Templates: time 0.008753/0.4492, allocations: 3.436 MB / 0.5014 GB, free: 2.629 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches