Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 183.4 kB / 18.04 MB, free: 3.535 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 224.2 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000907/0.000907, allocations: 84.69 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.4461, allocations: 79.25 MB / 456.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/0.4466, allocations: 83.95 kB / 456.4 MB, free: 1.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02844/0.475, allocations: 5.749 MB / 462.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4751, allocations: 0 / 462.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.4751, allocations: 4 kB / 462.1 MB, free: 11.43 MB / 346.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.001679/0.4768, allocations: 0.5952 MB / 462.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4769, allocations: 8.031 kB / 462.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.477, allocations: 32.56 kB / 462.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.4776, allocations: 292 kB / 463 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.4776, allocations: 12.81 kB / 463.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.4777, allocations: 20.38 kB / 463.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.4787, allocations: 263.7 kB / 463.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4788, allocations: 192 / 463.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.4788, allocations: 11.94 kB / 463.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.4788, allocations: 8 kB / 463.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.4802, allocations: 265.6 kB / 463.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.4829, allocations: 0.9482 MB / 464.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.4844, allocations: 282.4 kB / 464.8 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.485, allocations: 120.8 kB / 465 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.485, allocations: 0 / 465 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000894/0.4859, allocations: 193.5 kB / 465.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.484e-06/0.486, allocations: 0 / 465.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.004101/0.4901, allocations: 0.7487 MB / 465.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.4902, allocations: 110.8 kB / 466 MB, free: 7.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.4907, allocations: 262.5 kB / 466.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.4908, allocations: 37.7 kB / 466.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.491, allocations: 171.9 kB / 466.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.491, allocations: 39.45 kB / 466.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.4911, allocations: 4 kB / 466.5 MB, free: 6.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4913, allocations: 330.8 kB / 466.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.4919, allocations: 115.9 kB / 466.9 MB, free: 6.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.4926, allocations: 170.1 kB / 467.1 MB, free: 6.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4938, allocations: 295.5 kB / 467.4 MB, free: 5.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4939, allocations: 4 kB / 467.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002162/0.496, allocations: 472.5 kB / 467.9 MB, free: 5.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.4962, allocations: 163.8 kB / 468 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4962, allocations: 4 kB / 468 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.4968, allocations: 76.81 kB / 468.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.4971, allocations: 51.89 kB / 468.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/0.5014, allocations: 1.808 MB / 470 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.5021, allocations: 59.89 kB / 470 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.5022, allocations: 8.219 kB / 470 MB, free: 3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5022, allocations: 5.25 kB / 470 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00121/0.5034, allocations: 306.1 kB / 470.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5035, allocations: 0 / 470.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.5036, allocations: 36.97 kB / 470.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.504, allocations: 43.97 kB / 470.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.5055, allocations: 1.44 MB / 471.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.506, allocations: 43.88 kB / 471.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.5061, allocations: 8 kB / 471.9 MB, free: 0.9766 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.000329/0.5064, allocations: 216.4 kB / 472.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.5065, allocations: 19.72 kB / 472.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.5066, allocations: 29.83 kB / 472.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5066, allocations: 0 / 472.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5066, allocations: 0 / 472.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5067, allocations: 0 / 472.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.5071, allocations: 301.4 kB / 472.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5071, allocations: 8 kB / 472.5 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.5073, allocations: 31.86 kB / 472.5 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.5078, allocations: 80.8 kB / 472.6 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.5078, allocations: 4 kB / 472.6 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.5112, allocations: 1.667 MB / 474.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5113, allocations: 32 / 474.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5132, allocations: 397.4 kB / 474.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5133, allocations: 100.8 kB / 474.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.5134, allocations: 7.984 kB / 474.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.5139, allocations: 40.16 kB / 474.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.514, allocations: 19.97 kB / 474.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.514, allocations: 4 kB / 474.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003091/0.5143, allocations: 194 kB / 475 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5144, allocations: 0 / 475 MB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001004/0.5154, allocations: 131.7 kB / 475.1 MB, free: 13.53 MB / 362.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.0002227/0.5156, allocations: 103.2 kB / 475.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.518, allocations: 0.7348 MB / 475.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.518, allocations: 0 / 475.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.5188, allocations: 245.2 kB / 476.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.5194, allocations: 45.03 kB / 476.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5211, allocations: 0.5179 MB / 476.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.5217, allocations: 0.7446 MB / 477.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.522, allocations: 26.28 kB / 477.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.5221, allocations: 19.44 kB / 477.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5221, allocations: 4 kB / 477.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of Templates: time 0.01284/0.5349, allocations: 3.773 MB / 481.3 MB, free: 7.227 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches