Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.00159, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008081/0.0008079, allocations: 88.77 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002943, allocations: 11.94 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 50.41 MB / 401.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4234, allocations: 80.76 MB / 482.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.4238, allocations: 83.95 kB / 482.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01765/0.4414, allocations: 5.85 MB / 488.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4415, allocations: 0 / 488.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.4415, allocations: 4 kB / 488.2 MB, free: 9.703 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.00113/0.4427, allocations: 0.6067 MB / 488.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4427, allocations: 8.031 kB / 488.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.4428, allocations: 31.62 kB / 488.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.4432, allocations: 266.9 kB / 489.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.4432, allocations: 24.31 kB / 489.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.4433, allocations: 20 kB / 489.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.4439, allocations: 286.1 kB / 489.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4439, allocations: 0 / 489.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.444, allocations: 15.95 kB / 489.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.444, allocations: 4 kB / 489.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.4447, allocations: 273.6 kB / 489.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.4466, allocations: 1.021 MB / 490.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/0.4474, allocations: 274.6 kB / 491 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.4474, allocations: 4 kB / 491 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.4479, allocations: 193.8 kB / 491.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 4.488e-06/0.448, allocations: 4 kB / 491.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002272/0.4502, allocations: 0.7184 MB / 491.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.4503, allocations: 102.8 kB / 492 MB, free: 5.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.4506, allocations: 245.8 kB / 492.3 MB, free: 5.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.4507, allocations: 33.7 kB / 492.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4508, allocations: 183.7 kB / 492.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.4508, allocations: 39.45 kB / 492.5 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.4509, allocations: 4 kB / 492.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.451, allocations: 326.8 kB / 492.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4514, allocations: 123.8 kB / 493 MB, free: 4.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.4518, allocations: 198.3 kB / 493.2 MB, free: 4.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.4522, allocations: 153.5 kB / 493.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4522, allocations: 3.938 kB / 493.3 MB, free: 4.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001345/0.4536, allocations: 479.7 kB / 493.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.4536, allocations: 37.7 kB / 493.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4536, allocations: 4 kB / 493.8 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.4541, allocations: 80.83 kB / 493.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.4543, allocations: 51.91 kB / 494 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.4574, allocations: 1.897 MB / 495.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.458, allocations: 51.81 kB / 495.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.4581, allocations: 11.98 kB / 495.9 MB, free: 1.512 MB / 362.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.0002802/0.4583, allocations: 149.4 kB / 496.1 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.4584, allocations: 23.72 kB / 496.1 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/0.4585, allocations: 25.95 kB / 496.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4585, allocations: 3.953 kB / 496.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4585, allocations: 4 kB / 496.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4585, allocations: 0 / 496.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.459, allocations: 301.4 kB / 496.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.459, allocations: 0 / 496.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.4592, allocations: 31.97 kB / 496.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.4597, allocations: 84.73 kB / 496.5 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4597, allocations: 0 / 496.5 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.463, allocations: 1.795 MB / 498.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4631, allocations: 0 / 498.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.4646, allocations: 392.6 kB / 498.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4647, allocations: 104.8 kB / 498.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.4648, allocations: 4 kB / 498.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.4651, allocations: 44.08 kB / 498.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.4653, allocations: 20.16 kB / 498.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4653, allocations: 8 kB / 498.9 MB, free: 14.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002949/0.4656, allocations: 194 kB / 499.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4656, allocations: 0 / 499.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006798/0.4663, allocations: 71.84 kB / 499.1 MB, free: 14.05 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.0002259/0.4666, allocations: 111.2 kB / 499.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.4684, allocations: 0.5173 MB / 499.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4684, allocations: 0 / 499.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.4691, allocations: 247 kB / 0.4883 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.4696, allocations: 47.36 kB / 0.4883 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.4749, allocations: 1.045 MB / 0.4894 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.4754, allocations: 0.756 MB / 0.4901 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.4757, allocations: 22.3 kB / 0.4901 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.4758, allocations: 19.42 kB / 0.4901 GB, free: 11.2 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.4758, allocations: 0 / 0.4901 GB, free: 11.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01239/0.4882, allocations: 3.322 MB / 0.4934 GB, free: 7.918 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches