Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002948/0.002948, allocations: 180.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.448/4.448, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001304/0.001303, allocations: 82.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005469/0.0005471, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6183, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.785, allocations: 79.26 MB / 455 MB, free: 1.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004956/0.7856, allocations: 75.95 kB / 455.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02925/0.8148, allocations: 5.745 MB / 460.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.8149, allocations: 0 / 460.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.223e-05/0.815, allocations: 8 kB / 460.8 MB, free: 11.51 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.001806/0.8168, allocations: 0.5913 MB / 461.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.294e-05/0.8169, allocations: 16.03 kB / 461.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.8171, allocations: 28.56 kB / 461.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.822, allocations: 288 kB / 461.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.8221, allocations: 12.81 kB / 461.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.8222, allocations: 28.36 kB / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.8233, allocations: 255.7 kB / 462 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.8233, allocations: 192 / 462 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.8234, allocations: 15.94 kB / 462 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.8234, allocations: 4 kB / 462 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.8246, allocations: 281.5 kB / 462.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.8277, allocations: 0.9403 MB / 463.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.8291, allocations: 278.5 kB / 463.5 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.8297, allocations: 120.8 kB / 463.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.8298, allocations: 0 / 463.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/0.8306, allocations: 189.9 kB / 463.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.8306, allocations: 0 / 463.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.003868/0.8345, allocations: 0.744 MB / 464.6 MB, free: 7.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.8347, allocations: 110.8 kB / 464.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.8353, allocations: 274.5 kB / 465 MB, free: 7.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.8353, allocations: 29.7 kB / 465 MB, free: 7.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.8356, allocations: 175.8 kB / 465.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.8357, allocations: 47.44 kB / 465.2 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.8357, allocations: 4 kB / 465.2 MB, free: 6.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.8359, allocations: 334.8 kB / 465.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.8365, allocations: 119.9 kB / 465.7 MB, free: 6.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.8371, allocations: 188.5 kB / 465.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.8383, allocations: 312.2 kB / 466.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.8384, allocations: 0 / 466.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00219/0.8406, allocations: 487.6 kB / 466.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.8408, allocations: 182.5 kB / 466.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.8409, allocations: 4 kB / 466.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007068/0.8416, allocations: 84.8 kB / 466.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.842, allocations: 51.91 kB / 466.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004554/0.8466, allocations: 1.865 MB / 468.8 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.8473, allocations: 67.84 kB / 468.9 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.8474, allocations: 11.98 kB / 468.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8474, allocations: 4 kB / 468.9 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.8487, allocations: 310.5 kB / 469.2 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8487, allocations: 4 kB / 469.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.8488, allocations: 20.84 kB / 469.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.8492, allocations: 55.95 kB / 469.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.8509, allocations: 1.304 MB / 470.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.8515, allocations: 56.03 kB / 470.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.8516, allocations: 8 kB / 470.6 MB, free: 1.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0004229/0.852, allocations: 220.3 kB / 470.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.8521, allocations: 27.66 kB / 470.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.8522, allocations: 25.83 kB / 470.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.8522, allocations: 4 kB / 470.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8522, allocations: 0 / 470.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8522, allocations: 0 / 470.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.8527, allocations: 293.4 kB / 471.2 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8528, allocations: 0 / 471.2 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.853, allocations: 31.91 kB / 471.2 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.8534, allocations: 88.73 kB / 471.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.8535, allocations: 0 / 471.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.8573, allocations: 1.76 MB / 473.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.8573, allocations: 128 / 473.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.8593, allocations: 397.4 kB / 473.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.8595, allocations: 112.7 kB / 473.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.8596, allocations: 0 / 473.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.86, allocations: 43.97 kB / 473.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.8602, allocations: 19.97 kB / 473.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.8602, allocations: 7.984 kB / 473.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003965/0.8606, allocations: 190 kB / 473.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8607, allocations: 4 kB / 473.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001184/0.8618, allocations: 123.7 kB / 473.9 MB, free: 13.46 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.0003208/0.8622, allocations: 119.1 kB / 474.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.8651, allocations: 0.8012 MB / 474.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.8651, allocations: 0.6875 kB / 474.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.8659, allocations: 242.5 kB / 475.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.8666, allocations: 49.03 kB / 475.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.8717, allocations: 1.07 MB / 476.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.8723, allocations: 0.7485 MB / 477 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.8725, allocations: 19.44 kB / 477 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8725, allocations: 0 / 477 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.01138/0.8839, allocations: 4.199 MB / 481.2 MB, free: 6.098 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches