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/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.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/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 200.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007871/0.0007873, allocations: 101.4 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 4 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.353, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.512, allocations: 81.53 MB / 490.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5124, allocations: 83.95 kB / 491 MB, free: 9.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.5307, allocations: 5.9 MB / 496.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5308, allocations: 0 / 496.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.5308, allocations: 4 kB / 496.9 MB, free: 4 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.001374/0.5322, allocations: 0.6068 MB / 497.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5323, allocations: 8.031 kB / 497.5 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.5324, allocations: 32.56 kB / 497.6 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.5329, allocations: 288 kB / 497.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.5329, allocations: 12.81 kB / 497.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.533, allocations: 20.38 kB / 497.9 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.5337, allocations: 290.3 kB / 498.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.5337, allocations: 192 / 498.2 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.5338, allocations: 7.938 kB / 498.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.5338, allocations: 8 kB / 498.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.5346, allocations: 273.5 kB / 498.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.5366, allocations: 1.014 MB / 499.4 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.5375, allocations: 278.5 kB / 499.7 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.5378, allocations: 120.8 kB / 499.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5379, allocations: 0 / 499.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.5384, allocations: 189.8 kB / 0.4883 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.5384, allocations: 0 / 0.4883 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002318/0.5408, allocations: 0.7272 MB / 0.489 GB, free: 15.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.5408, allocations: 107 kB / 0.4891 GB, free: 15.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.5412, allocations: 270.5 kB / 0.4894 GB, free: 15.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.5412, allocations: 33.64 kB / 0.4894 GB, free: 15.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5414, allocations: 179.8 kB / 0.4896 GB, free: 15.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.5414, allocations: 39.45 kB / 0.4896 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.5415, allocations: 4 kB / 0.4896 GB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5416, allocations: 342.7 kB / 0.4899 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.542, allocations: 111.9 kB / 0.4901 GB, free: 14.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.5424, allocations: 207.8 kB / 0.4902 GB, free: 14.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.5432, allocations: 312.8 kB / 0.4905 GB, free: 14.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.5432, allocations: 0 / 0.4905 GB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001289/0.5445, allocations: 483.7 kB / 0.491 GB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.5446, allocations: 37.64 kB / 0.491 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.5446, allocations: 4 kB / 0.491 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.545, allocations: 80.83 kB / 0.4911 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.5453, allocations: 59.89 kB / 0.4912 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.5483, allocations: 1.858 MB / 0.493 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.5487, allocations: 67.59 kB / 0.4931 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.5488, allocations: 8 kB / 0.4931 GB, free: 11.47 MB / 378.7 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 ($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 (21): * Single equations (assignments): 19 * 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.0002144/0.549, allocations: 145.8 kB / 0.4932 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.5491, allocations: 23.72 kB / 0.4932 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.5491, allocations: 25.83 kB / 0.4933 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5491, allocations: 4 kB / 0.4933 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5492, allocations: 0 / 0.4933 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.5492, allocations: 3.938 kB / 0.4933 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.5496, allocations: 285.5 kB / 0.4935 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5496, allocations: 48 / 0.4935 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.5498, allocations: 35.95 kB / 0.4936 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.55, allocations: 76.8 kB / 0.4936 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.5501, allocations: 11.94 kB / 0.4937 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.5525, allocations: 1.768 MB / 0.4954 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5525, allocations: 4.062 kB / 0.4954 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.5536, allocations: 401.4 kB / 0.4958 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5537, allocations: 96.81 kB / 0.4959 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.5538, allocations: 8 kB / 0.4959 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.554, allocations: 35.97 kB / 0.4959 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.5541, allocations: 23.91 kB / 0.4959 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.5541, allocations: 11.98 kB / 0.4959 GB, free: 8.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.5544, allocations: 190 kB / 0.4961 GB, free: 8.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5544, allocations: 0 / 0.4961 GB, free: 8.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.5549, allocations: 75.84 kB / 0.4962 GB, free: 8.039 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.0002137/0.5551, allocations: 103.2 kB / 0.4963 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.5564, allocations: 0.509 MB / 0.4968 GB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5564, allocations: 0 / 0.4968 GB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.557, allocations: 255 kB / 0.497 GB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.5573, allocations: 55.64 kB / 0.4971 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.5604, allocations: 1.051 MB / 0.4981 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.5608, allocations: 0.7443 MB / 0.4988 GB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.5609, allocations: 34.3 kB / 0.4989 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.561, allocations: 19.44 kB / 0.4989 GB, free: 5.188 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.561, allocations: 0 / 0.4989 GB, free: 5.188 MB / 378.7 MB Notification: Performance of Templates: time 0.007888/0.5689, allocations: 3.366 MB / 0.5022 GB, free: 1.848 MB / 378.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches