Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008199/0.0008199, allocations: 105.4 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002092/0.0002092, allocations: 8 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1806, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08652/0.2672, allocations: 81.56 MB / 491 MB, free: 9.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.2674, allocations: 83.95 kB / 491.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01566/0.2831, allocations: 5.862 MB / 496.9 MB, free: 3.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2831, allocations: 0 / 496.9 MB, free: 3.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.2831, allocations: 8 kB / 496.9 MB, free: 3.062 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.001078/0.2842, allocations: 0.6067 MB / 497.5 MB, free: 2.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2843, allocations: 8.031 kB / 497.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.2843, allocations: 31.62 kB / 497.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.2847, allocations: 279.2 kB / 497.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2847, allocations: 24.31 kB / 497.9 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.2848, allocations: 20 kB / 497.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.2854, allocations: 285.8 kB / 498.2 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2854, allocations: 0 / 498.2 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2854, allocations: 12 kB / 498.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2854, allocations: 8 kB / 498.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.2862, allocations: 269.5 kB / 498.5 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.2878, allocations: 1.025 MB / 499.5 MB, free: 332 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/0.2886, allocations: 270.5 kB / 499.7 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2886, allocations: 8 kB / 499.8 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/0.2891, allocations: 193.8 kB / 499.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2891, allocations: 0 / 499.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002149/0.2912, allocations: 0.7215 MB / 0.4889 GB, free: 15.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.2913, allocations: 106.8 kB / 0.489 GB, free: 14.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.2915, allocations: 229.8 kB / 0.4893 GB, free: 14.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.2916, allocations: 33.7 kB / 0.4893 GB, free: 14.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2917, allocations: 179.8 kB / 0.4895 GB, free: 14.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.2917, allocations: 43.39 kB / 0.4895 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.2917, allocations: 4 kB / 0.4895 GB, free: 14.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2919, allocations: 338.8 kB / 0.4898 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.2922, allocations: 107.9 kB / 0.4899 GB, free: 14.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.2926, allocations: 189.2 kB / 0.4901 GB, free: 13.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.293, allocations: 146.8 kB / 0.4902 GB, free: 13.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.293, allocations: 0 / 0.4902 GB, free: 13.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001176/0.2941, allocations: 463.9 kB / 0.4907 GB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.2942, allocations: 33.7 kB / 0.4907 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2942, allocations: 7.938 kB / 0.4907 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.2946, allocations: 84.78 kB / 0.4908 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2948, allocations: 43.97 kB / 0.4909 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.2971, allocations: 1.834 MB / 0.4926 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.2974, allocations: 51.81 kB / 0.4927 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2974, allocations: 8.125 kB / 0.4927 GB, free: 10.97 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.0001279/0.2976, allocations: 140.8 kB / 0.4928 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.2976, allocations: 27.67 kB / 0.4929 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.2977, allocations: 29.83 kB / 0.4929 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2977, allocations: 4 kB / 0.4929 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2977, allocations: 0 / 0.4929 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2977, allocations: 0 / 0.4929 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.298, allocations: 293.4 kB / 0.4932 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.298, allocations: 0 / 0.4932 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.2981, allocations: 39.86 kB / 0.4932 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.2984, allocations: 84.8 kB / 0.4933 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2984, allocations: 0 / 0.4933 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.3005, allocations: 1.695 MB / 0.4949 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3005, allocations: 0 / 0.4949 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3015, allocations: 398.4 kB / 0.4953 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.3016, allocations: 100.8 kB / 0.4954 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.3016, allocations: 8 kB / 0.4954 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.3019, allocations: 39.95 kB / 0.4955 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.302, allocations: 19.97 kB / 0.4955 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.302, allocations: 8 kB / 0.4955 GB, free: 7.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3022, allocations: 190 kB / 0.4957 GB, free: 7.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 4 kB / 0.4957 GB, free: 7.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.3025, allocations: 71.8 kB / 0.4957 GB, free: 7.617 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.0001261/0.3027, allocations: 107.2 kB / 0.4959 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009164/0.3036, allocations: 456.9 kB / 0.4963 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3036, allocations: 0 / 0.4963 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.3041, allocations: 235 kB / 0.4965 GB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3043, allocations: 58.55 kB / 0.4966 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.3052, allocations: 0.5133 MB / 0.4971 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3055, allocations: 0.756 MB / 0.4978 GB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3056, allocations: 22.28 kB / 0.4978 GB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.3057, allocations: 19.44 kB / 0.4978 GB, free: 5.375 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3057, allocations: 0 / 0.4978 GB, free: 5.375 MB / 378.7 MB Notification: Performance of Templates: time 0.006128/0.3118, allocations: 3.372 MB / 0.5011 GB, free: 2.043 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches