Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009461/0.000946, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007403/0.0007403, allocations: 94.38 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002287, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.186, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08859/0.2746, allocations: 81.53 MB / 490.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.2749, allocations: 75.97 kB / 490.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.2909, allocations: 5.892 MB / 496.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2909, allocations: 4 kB / 496.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.2909, allocations: 4 kB / 496.2 MB, free: 4.09 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.001021/0.292, allocations: 0.5991 MB / 496.8 MB, free: 3.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.292, allocations: 12.03 kB / 496.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.2921, allocations: 40.44 kB / 496.8 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.2924, allocations: 280.1 kB / 497.1 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2924, allocations: 16.8 kB / 497.1 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.2925, allocations: 24.38 kB / 497.1 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.2931, allocations: 286.3 kB / 497.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2931, allocations: 192 / 497.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.2932, allocations: 11.94 kB / 497.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2932, allocations: 4 kB / 497.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/0.2939, allocations: 273.5 kB / 497.7 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2956, allocations: 1.021 MB / 498.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008031/0.2964, allocations: 270.5 kB / 499 MB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2967, allocations: 120.8 kB / 499.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2968, allocations: 0 / 499.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.2973, allocations: 189.9 kB / 499.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2973, allocations: 0 / 499.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002232/0.2995, allocations: 0.7313 MB / 0.4883 GB, free: 15.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.2996, allocations: 106.8 kB / 0.4884 GB, free: 15.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.2998, allocations: 270.4 kB / 0.4887 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2999, allocations: 29.7 kB / 0.4887 GB, free: 15.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.3, allocations: 175.9 kB / 0.4889 GB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.3, allocations: 43.52 kB / 0.4889 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.3, allocations: 11.94 kB / 0.4889 GB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3001, allocations: 334.8 kB / 0.4892 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.3005, allocations: 111.9 kB / 0.4893 GB, free: 14.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.3009, allocations: 179.1 kB / 0.4895 GB, free: 14.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.3015, allocations: 299.3 kB / 0.4898 GB, free: 14.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3015, allocations: 0 / 0.4898 GB, free: 14.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00113/0.3027, allocations: 463.7 kB / 0.4902 GB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.3027, allocations: 37.64 kB / 0.4903 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3027, allocations: 4 kB / 0.4903 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.3031, allocations: 84.83 kB / 0.4904 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3033, allocations: 43.91 kB / 0.4904 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.3056, allocations: 1.787 MB / 0.4921 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.3059, allocations: 63.84 kB / 0.4922 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.3059, allocations: 19.98 kB / 0.4922 GB, free: 11.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.000138/0.3061, allocations: 141.8 kB / 0.4924 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.3061, allocations: 23.72 kB / 0.4924 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.3062, allocations: 29.83 kB / 0.4924 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3062, allocations: 4 kB / 0.4924 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3062, allocations: 0 / 0.4924 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3062, allocations: 3.938 kB / 0.4924 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3064, allocations: 285.5 kB / 0.4927 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3065, allocations: 0 / 0.4927 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3066, allocations: 31.97 kB / 0.4927 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.3069, allocations: 80.8 kB / 0.4928 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3069, allocations: 0 / 0.4928 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.3089, allocations: 1.683 MB / 0.4944 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3089, allocations: 4 kB / 0.4944 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3099, allocations: 397.5 kB / 0.4948 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.31, allocations: 100.8 kB / 0.4949 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.31, allocations: 4 kB / 0.4949 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.3103, allocations: 43.95 kB / 0.495 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.3104, allocations: 23.97 kB / 0.495 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3104, allocations: 7.938 kB / 0.495 GB, free: 8.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3106, allocations: 190 kB / 0.4952 GB, free: 8.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.3106, allocations: 0 / 0.4952 GB, free: 8.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.3109, allocations: 71.78 kB / 0.4952 GB, free: 8.379 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.0001489/0.3111, allocations: 107.2 kB / 0.4954 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009684/0.3121, allocations: 438.1 kB / 0.4958 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3121, allocations: 4.125 kB / 0.4958 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.3125, allocations: 253.8 kB / 0.496 GB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3129, allocations: 50.78 kB / 0.4961 GB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.3138, allocations: 0.5424 MB / 0.4966 GB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3141, allocations: 0.7443 MB / 0.4973 GB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.3141, allocations: 23.38 kB / 0.4973 GB, free: 6.133 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3141, allocations: 0 / 0.4973 GB, free: 6.133 MB / 378.7 MB Notification: Performance of Templates: time 0.005537/0.3197, allocations: 4.121 MB / 0.5014 GB, free: 2.027 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches