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.001494/0.001494, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001146/0.001145, allocations: 96.36 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 16 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4575, allocations: 79.2 MB / 453.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4579, allocations: 87.94 kB / 453.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02603/0.4839, allocations: 5.737 MB / 459.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.484, allocations: 0 / 459.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.484, allocations: 4 kB / 459.6 MB, free: 11.71 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.001506/0.4855, allocations: 0.5989 MB / 460.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4856, allocations: 12.03 kB / 460.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.4857, allocations: 27.62 kB / 460.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.4861, allocations: 275.2 kB / 460.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4862, allocations: 24.33 kB / 460.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.4862, allocations: 27.98 kB / 460.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4873, allocations: 255.2 kB / 460.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4873, allocations: 0 / 460.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.4873, allocations: 8 kB / 460.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4874, allocations: 11.94 kB / 460.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.4887, allocations: 269.6 kB / 461.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.4913, allocations: 0.952 MB / 462 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.4927, allocations: 276.8 kB / 462.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.4928, allocations: 4 kB / 462.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007712/0.4936, allocations: 197.8 kB / 462.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.4936, allocations: 0 / 462.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.004079/0.4977, allocations: 0.7215 MB / 463.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.4977, allocations: 106.8 kB / 463.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.4981, allocations: 233.8 kB / 463.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.4982, allocations: 29.7 kB / 463.6 MB, free: 7.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4983, allocations: 230.3 kB / 463.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.4984, allocations: 39.45 kB / 463.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.4984, allocations: 4 kB / 463.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4986, allocations: 330.8 kB / 464.2 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.4992, allocations: 104.1 kB / 464.3 MB, free: 6.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.4999, allocations: 182.5 kB / 464.4 MB, free: 6.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.5006, allocations: 145.5 kB / 464.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5006, allocations: 0 / 464.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002068/0.5027, allocations: 447 kB / 465 MB, free: 5.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.5029, allocations: 0.6412 MB / 465.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.503, allocations: 8 kB / 465.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.5035, allocations: 76.8 kB / 465.7 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.5039, allocations: 51.91 kB / 465.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009262/0.5048, allocations: 0.6226 MB / 466.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.5054, allocations: 59.73 kB / 466.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.5055, allocations: 8.219 kB / 466.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5055, allocations: 8.062 kB / 466.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/0.5067, allocations: 306.2 kB / 466.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5067, allocations: 3.984 kB / 466.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.5069, allocations: 28.84 kB / 466.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.5072, allocations: 47.91 kB / 466.9 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.5087, allocations: 1.44 MB / 468.3 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.5091, allocations: 43.89 kB / 468.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.5091, allocations: 8 kB / 468.4 MB, free: 2.359 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.0002364/0.5094, allocations: 217.1 kB / 468.6 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.5094, allocations: 23.72 kB / 468.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.5095, allocations: 21.83 kB / 468.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.5095, allocations: 4 kB / 468.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.5095, allocations: 0 / 468.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5096, allocations: 3.953 kB / 468.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.5099, allocations: 309.3 kB / 468.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.51, allocations: 0 / 468.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.5102, allocations: 27.98 kB / 468.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.5107, allocations: 77.89 kB / 469 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5107, allocations: 4 kB / 469 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.5143, allocations: 1.7 MB / 470.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5143, allocations: 4.062 kB / 470.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.5163, allocations: 396.3 kB / 471.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5165, allocations: 96.91 kB / 471.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.5165, allocations: 8 kB / 471.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.517, allocations: 39.92 kB / 471.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5171, allocations: 19.97 kB / 471.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.5172, allocations: 11.98 kB / 471.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002959/0.5175, allocations: 193.9 kB / 471.5 MB, free: 15 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5175, allocations: 0 / 471.5 MB, free: 15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000703/0.5182, allocations: 123.7 kB / 471.6 MB, free: 14.88 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.0002041/0.5184, allocations: 107.2 kB / 471.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.5208, allocations: 0.6192 MB / 472.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.5209, allocations: 0 / 472.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.5217, allocations: 238.7 kB / 472.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.5222, allocations: 37.11 kB / 472.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.5237, allocations: 0.5527 MB / 473.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.5241, allocations: 0.7524 MB / 473.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5242, allocations: 19.44 kB / 473.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5242, allocations: 0 / 473.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Templates: time 0.009581/0.5338, allocations: 3.974 MB / 477.9 MB, free: 8.492 MB / 362.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