Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002192/0.002192, allocations: 180.3 kB / 13.66 MB, free: 1.664 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.967/1.967, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001073/0.001072, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.827e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 47.58 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.4997, allocations: 79.11 MB / 448.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5, allocations: 81.2 kB / 448.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02758/0.5276, allocations: 5.726 MB / 454 MB, free: 9.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5277, allocations: 0 / 454 MB, free: 9.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.5277, allocations: 8 kB / 454 MB, free: 9.113 MB / 330.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.001443/0.5292, allocations: 0.5697 MB / 454.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.5292, allocations: 8.031 kB / 454.6 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5294, allocations: 27.72 kB / 454.6 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.5299, allocations: 272.8 kB / 454.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.5299, allocations: 15.89 kB / 454.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.53, allocations: 19.25 kB / 454.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.5306, allocations: 199.9 kB / 455.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5306, allocations: 0 / 455.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.5307, allocations: 7.188 kB / 455.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5307, allocations: 12 kB / 455.1 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.5312, allocations: 148.4 kB / 455.3 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.5339, allocations: 0.9498 MB / 456.2 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.5344, allocations: 135.2 kB / 456.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.5346, allocations: 61.34 kB / 456.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.5346, allocations: 0 / 456.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.535, allocations: 140.9 kB / 456.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.535, allocations: 0 / 456.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.001004/0.536, allocations: 227.3 kB / 456.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.5361, allocations: 105.9 kB / 456.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.5365, allocations: 237.3 kB / 457.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.5366, allocations: 32.52 kB / 457.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5367, allocations: 234.1 kB / 457.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.5368, allocations: 41.83 kB / 457.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/0.5368, allocations: 7.25 kB / 457.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.537, allocations: 322 kB / 457.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5371, allocations: 54.98 kB / 457.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.5374, allocations: 106.2 kB / 457.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.5376, allocations: 93.77 kB / 458 MB, free: 5.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5376, allocations: 0 / 458 MB, free: 5.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001108/0.5387, allocations: 310 kB / 458.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.539, allocations: 0.6528 MB / 459 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5391, allocations: 0 / 459 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.5394, allocations: 43.22 kB / 459 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.5398, allocations: 43.97 kB / 459 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005698/0.5403, allocations: 0.572 MB / 459.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.541, allocations: 62.77 kB / 459.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.541, allocations: 11.38 kB / 459.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.541, allocations: 4 kB / 459.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005906/0.5416, allocations: 216.9 kB / 459.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5417, allocations: 0 / 459.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.5418, allocations: 24.55 kB / 459.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.5422, allocations: 56.02 kB / 460 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.5437, allocations: 1.435 MB / 461.4 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.5442, allocations: 47.67 kB / 461.5 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.5442, allocations: 8 kB / 461.5 MB, free: 1.969 MB / 330.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 () * 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.0001531/0.5444, allocations: 121.9 kB / 461.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.5445, allocations: 23.72 kB / 461.6 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.5446, allocations: 29.58 kB / 461.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5446, allocations: 0 / 461.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5446, allocations: 4 kB / 461.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5446, allocations: 7.953 kB / 461.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.545, allocations: 291.7 kB / 461.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5451, allocations: 0 / 461.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.5453, allocations: 27.98 kB / 462 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.5455, allocations: 43.77 kB / 462 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5456, allocations: 4 kB / 462 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.5477, allocations: 1.493 MB / 463.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5477, allocations: 4.031 kB / 463.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.5487, allocations: 259.6 kB / 463.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5488, allocations: 108.7 kB / 463.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.5488, allocations: 4 kB / 463.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.5493, allocations: 47.95 kB / 463.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5494, allocations: 19.66 kB / 463.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.5495, allocations: 4 kB / 463.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.5498, allocations: 185.9 kB / 464.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5498, allocations: 3.938 kB / 464.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007104/0.5505, allocations: 119.1 kB / 464.2 MB, free: 15.23 MB / 346.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) * 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.0001886/0.5507, allocations: 118.9 kB / 464.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.5517, allocations: 450.5 kB / 464.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5517, allocations: 4 kB / 464.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.5521, allocations: 190.9 kB / 465 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.5525, allocations: 44.72 kB / 465 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.5534, allocations: 289.9 kB / 465.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5538, allocations: 0.7524 MB / 466.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5539, allocations: 19.44 kB / 466.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5539, allocations: 0 / 466.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of Templates: time 0.009377/0.5633, allocations: 3.997 MB / 470.1 MB, free: 9.363 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches